Re: Suggestion for clarifications on "man 5 proc" page regarding /proc/[pid]/self race conditions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Jun 08, 2024 at 12:23:11AM GMT, ellie wrote:
> Dear Alejandro Colomar,
> 
> I finally wrote a patch against the latest man pages, see file attached.
> Hopefully this is in a format that allows you to integrate it well.
> 
> Some quick notes:
> 
> 1. The "make" process aborted with an error, I couldn't use it to verify.
> However, pandoc seems to think my formatting is correct.
> 
> 2. I still don't know if open("/proc/self/exe") has any internal race
> conditions on rename, like any more regular symlink. My text simply assumes
> it doesn't. Maybe some expert might want to double-check?
> 
> 3. You can freely use my patch, no attribution needed. However, if source
> info is desired, you can supply "Ellie <el@xxxxxxxxxxx>" for that.

Also, please send the patch inline.  Otherwise, I have a hard time quote
replying to it.

> 
> Regards,
> 
> Ellie
> 
> PS: The error that "make" gave me was this one, in case anybody finds this
> useful: "TROFF .tmp/man/man2/s390_sthyi.2.cat.set
> troff:.tmp/man/man2/s390_sthyi.2:124: warning [p 2, 1.8i]: cannot adjust
> line"
> 
> On 12/12/23 9:47 AM, ellie wrote:
> > Dear Alejandro Colomar,
> > 
> > I hope I'm emailing this to the correct place, I found this contact
> > information on https://man7.org/mtk/contact.html regarding man page
> > feedback:
> > 
> > I'm suggesting that the "man 5 proc" page is expanded with a section
> > clarifying /proc/[pid]/self race conditions, I described details and
> > even made a text suggestion here:
> > 
> > https://bugzilla.suse.com/show_bug.cgi?id=1216352
> > 
> > (The text suggestion might be wrong, however, since I don't actually
> > know what the exact technical state of this is.)
> > 
> > Regards,
> > 
> > ellie



-- 
<https://www.alejandro-colomar.es/>

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux