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 ...

command line - What are these auxiliary file descriptors? - Ask Ubuntu

askubuntu.com

1 янв. 2017 г. ... When you do /proc/self/fd/* , the shell expands the wildcard, so it's listing its own file descriptors. But when these are passed to another ...

proc(5) - Linux manual page

man7.org

For example, assuming that -i is the flag designating an input file and -o is the flag designating an output file: $ foobar -i /proc/self/fd/0 -o /proc/self/fd/ ...

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.

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: ...

/proc/self/fd/{0,1,2} are not valid (with --tty) · Issue #11462 · moby ...

github.com

18 мар. 2015 г. ... 1 and 1.5.0. Steps to reproduce: $ docker run -ti --rm ubuntu ls -l /proc/self/fd lrwx-- ...

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

groups.google.com

7 авг. 2008 г. ... PROBLEM?: "permission denied" when accessing /proc/self/fd/* after setuid ... fd = fcntl(0, F_DUPFD, 0);. are equivalent. I don't have a more ...

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

github.com

26 янв. 2017 г. ... How to reproduce. habitat/plan.sh : pkg_name=proc-self-output pkg_origin=moretea pkg_version=0.1.0 pkg_maintainer= ... fd/1 ls -lah /proc/self/fd/ ...

wireless network no longer working: /proc/self/fd/11 error / Newbie ...

bbs.archlinux.org

Failed to read or parse configuration '/proc/self/fd/11'. ... dr-xr-xr-x 9 gingernaut gingernaut 0 May 27 20:55 .. lrwx------ 1 ...

Can't open file descriptors in /proc/[###]/fd · Issue #266 · microsoft ...

github.com

25 апр. 2016 г. ... ... 0 lrwxrwxrwx 1 root root 15 Apr 29 2016 stdout -> /proc/self/fd/1 ... proc/self/fd/1"). I've filed a bug internally to track this and we ...

proc(5) - Linux manual page

man7.org

standard output if no argument is supplied, can. nevertheless be made to use standard input or standard. output by using /proc/pid/fd files as command-line.

proc(5) — Arch manual pages

man.archlinux.org

UNIX и Linux поддерживают идею о попроцессном корневом каталоге файловой системы, который может быть установлен системным вызовом chroot(2). Этот файл является символьной ссылкой, которая указывает на корневой каталог процесса и ведёт себя так же, как exe и fd/*.

Проект OpenNet: MAN proc (5) Форматы файлов (FreeBSD и Linux)

www.opennet.ru

Командами lockup и unlock суперпользователь может управлять блокировками шины, которые симулирует драйвер scsi_debug. self. Этот каталог указывает на процесс, обращающийся к файловой системе /proc, и идентичен подкаталогу, соответствующему номеру этого процесса.

man proc (5): process information pseudo-filesystem

manpages.org

man proc (5): The proc filesystem is a pseudo-filesystem which provides an interface to kernel data structures. It is commonly mounted at /proc.

command line - What are these auxiliary file descriptors? - Ask Ubuntu

askubuntu.com

But when these are passed to another command, like find or ls, the paths will now be for that process' /proc/self, and it may or may not have fds with those numbers. Even trickier, the shell may open file descriptors during wildcard expansion.

linux - Which process is `/proc/self/` for? - Unix & Linux Stack Exchange

unix.stackexchange.com

This has nothing to do with foreground and background processes; it only has to do with the currently running process. When the kernel has to answer the question “What does /proc/self point to?”, it simply picks the currently-scheduled pid, i.e. the currently running process (on the current logical CPU).

proc linux command man page

www.commandlinux.com

proc man page. A compilation of Linux man pages for all commands in HTML.

proc

www.sourceware.org

With the introduction of per-process mount namespaces, this file became a link to /proc/self/mounts, which lists the mount points of the process's own mount namespace. The format of this file is documented in fstab(5).

The /proc Filesystem — The Linux Kernel documentation

docs.kernel.org

The directory /proc contains (among other things) one subdirectory for each process running on the system, which is named after the process ID (PID).

proc

cygwin.com

With the introduction of per-process mount namespaces, this file became a link to /proc/self/mounts, which lists the mount points of the process's own mount namespace. The format of this file is documented in fstab(5).

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