tech-kern archive

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

Re: compat_linux: open: Supporting O_NOATIME



> Additionally, re. privilege check: Linux checks the privilege by
> ensuring process effective UID matches the file owner UID, or if the
> process has `CAP_FOWNER` [*].  On NetBSD, I presume we'd only do the
> first check?

I'd be inclined to replace the second part with "or is root" (I can't
recall how that's spelled these days), not just drop it.

/~\ The ASCII				  Mouse
\ / Ribbon Campaign
 X  Against HTML		mouse%rodents-montreal.org@localhost
/ \ Email!	     7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B


Home | Main Index | Thread Index | Old Index