devices - What does the output of `ll /proc/self/fd/` (from `ll /dev/fd ...

unix.stackexchange.com

9 нояб. 2021 г. ... /proc/self/fd reports the files opened by a process. Each entry is a “magic” symbolic link whose name is the file descriptor and whose target is ...

linux - Why is /proc/self/fd/N forbidden after setuid? - Stack Overflow

stackoverflow.com

24 февр. 2023 г. ... Inside your program, open files are represented as integer file descriptors. These are the filenames of the entries in the directory: ...

A cool trick with /proc/self/fd : r/linux

www.reddit.com

12 апр. 2014 г. ... tl;dr /proc/self/fd/1 points to a process' standard output. You can use this to trick programs into printing to the terminal instead of files.

proc(5) - Linux manual page

man7.org

find(1) with the -inum option can be used to locate the file. /proc/pid/fd/ This is a subdirectory containing one entry for each file which the process has open ...

Error response from daemon: OCI runtime create failed /proc/self/fd ...

github.com

12 апр. 2022 г. ... kes, nginx, postgres, nats and about 5 go and nodejs services. This happens about once a day per developer and I would say the developer ...

PROBLEM?: "permission denied" when accessing /proc/self/fd ...

groups.google.com

7 авг. 2008 г. ... /proc/self/fd/2: uid: 1000, gid: 5 open(/proc/self/fd/2) as uid 500: Permission denied /proc/self/fd/2: uid: 1000, gid: 5. I've managed to ...

error: can't mount image /proc/self/fd/3: failed to mount squashfs ...

github.com

1 июл. 2020 г. ... Actual behavior. FATAL: container creation failed: mount /proc/self/fd/3->/usr/local/var/singularity/mnt/ ...

CTFtime.org / ASIS CTF Finals 2021 / jsss / Writeup

ctftime.org

... 5`, readFile`/proc/self/fd/6`, readFile`/proc/self/fd/7`, readFile`/proc/self ... fd/27`, readFile`/proc/self/fd/28`. And yes, there is probably a better way ...

Nginx can't write to /proc/self/fd/2 with container.runAsUser=101 ...

github.com

4 февр. 2020 г. ... Nginx can't write to /proc/self/fd/2 with container.runAsUser=101 ... giuseppe commented on Feb 5, 2020. that looks like an issue we fixed ...

Docker 20.10.5 - constant error: level=error msg="copy shim log ...

forums.docker.com

4 апр. 2021 г. ... 5 - constant error: level=error msg="copy shim log" error="read /proc/self/fd/10: file already closed" ... 5. i'm running a keepalive task for my ...

proc(5) - Linux manual page

man7.org

proc/self/fd/N is approximately the same as /dev/fd/N in. some UNIX and UNIX-like systems. Most Linux MAKEDEV.

what's the mean of /proc/self/fd/ socket file on linux... - Stack Overflow

stackoverflow.com

grep -i "4654214" /proc/net/tcp 5: 00000000:270F 00000000:0000 0A 00000000:00000000 00:00000000 00000000 0 0 4654214 1 cc2c5f00 300 0 0 2 -1. This is way how you can get useful info about sockets. Additionally look at ss command.

7.2.1. Файл /proc/self. Программирование для Linux.

it.wikireading.ru

Файл /proc/self является символической ссылкой на каталог, соответствующий текущему процессу. Естественно, содержимое ссылки меняется в зависимости от того, кто к ней обращается. Например, программа, представленная в листинге 7.2...

What's the difference between ">&1" and ">/proc/self/fd/1" redirection?

unix.stackexchange.com

The only reason you would ever use /proc/self/fd is you are running a program that expects a file name and can't be told to use an already open file descriptor. E.g. the <(cmd...) redirection uses that, since almost all command line utilities can open a file pointed to by name, but not all support preopened file...

Ubuntu Manpage: proc - process information pseudo-filesystem

manpages.ubuntu.com

proc/self/fd/N is approximately the same as /dev/fd/N in some UNIX and UNIX-like. systems.

LFI Exploitation via /proc/self/fd - YouTube

www.youtube.com

О сервисе Прессе Авторские права Связаться с нами Авторам Рекламодателям Разработчикам...

linux - Означает ли 3>&1 4>&3 5>&3 и т.д.? - de-vraag

de-vraag.com

провалится с ошибками типа /proc/self/fd/4: No such file or directory и т.д., но к моему удивлению, он выводит.

linux - User permission to create new File Descriptor - Server Fault

serverfault.com

# Print message both to stdout and FD5 msg() { msg="$1" echo "$msg" | tee /dev/fd/5 }. What kind of permission I should give to user to let it create and use a new File Descriptor?

Writing to /proc/self/fd/1 and /proc/self/fd/2 in a supervised process...

github.com

As a trick, I tried to set the log files to /proc/self/fd/1, but somehow that special file is not writeable from within a process started by the supervisor.

Поиск реализован с помощью YandexXML и Google Custom Search API