lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAMmfjbNmN0pPXr-HY7qzK52YpwoSU76q1Puog951X7h099XHBA@mail.gmail.com>
Date:	Tue, 25 Dec 2012 06:25:11 -0500
From:	bbi5291 <bbi5291@...il.com>
To:	Borislav Petkov <bp@...en8.de>, bbi5291 <bbi5291@...il.com>,
	linux-kernel@...r.kernel.org
Subject: Re: Does init start with any open files?

Well, that can't be right---I grepped the kernel source for "initctl"
and got no results. Besides, if you're running a shell, then init has
already had time to open and close whatever file descriptors it wants
to. What I want to know is whether init has any open file descriptors,
at, say, the moment its main() starts executing.
________________________________
Brian Bi


On Tue, Dec 25, 2012 at 6:17 AM, Borislav Petkov <bp@...en8.de> wrote:
> On Tue, Dec 25, 2012 at 02:38:09AM -0500, bbi5291 wrote:
>> When the init process is created on system startup, does it have any
>> open file descriptors? If so, where do they point?
>
> $ tree /proc/1/fd
> /proc/1/fd
> └── 10 -> /run/initctl
>
> 0 directories, 1 file
>
> --
> Regards/Gruss,
>     Boris.
>
> Sent from a fat crate under my desk. Formatting is fine.
> --
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ