public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Re: [WTF] ->setattr() locking changes
@ 2002-04-06 18:45 Andries.Brouwer
  0 siblings, 0 replies; 9+ messages in thread
From: Andries.Brouwer @ 2002-04-06 18:45 UTC (permalink / raw)
  To: torvalds, viro; +Cc: haveblue, linux-kernel, trond.myklebust


    > Hmm...  While we are at it, why don't we remove suid/sgid on truncate(2)?

    Are there any standards saying either way? But yes, it sounds logical.

"This function shall not modify the file offset for any open file
 descriptions associated with the file. Upon successful completion,
 if the file size is changed, this function shall mark for update
 the st_ctime and st_mtime fields of the file, and the S_ISUID and
 S_ISGID bits of the file mode may be cleared."

Andries

^ permalink raw reply	[flat|nested] 9+ messages in thread
* [WTF] ->setattr() locking changes
@ 2002-04-06  5:43 Alexander Viro
  2002-04-06  8:10 ` Andrew Morton
  2002-04-06 16:29 ` Linus Torvalds
  0 siblings, 2 replies; 9+ messages in thread
From: Alexander Viro @ 2002-04-06  5:43 UTC (permalink / raw)
  To: Dave Hansen; +Cc: Linus Torvalds, linux-kernel

	a) where the hell is update to Documentation/filesystems/* ?
	b) Dave, meet grep.  grep, meet Dave.  Have a happy relationship...

_Please_, grep before doing global changes.  Trivial search for
notify_change() would show several calls under ->i_sem.  E.g. one
in fs/nfsd/vfs.c.  Or in hpfs_unlink().

All other problems with BKL brigade aside, could you at least learn to
use basic tools?  It's not a rocket science, after all - you do global
interface changes, you need to do global search.


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2002-04-06 20:24 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-04-06 18:45 [WTF] ->setattr() locking changes Andries.Brouwer
  -- strict thread matches above, loose matches on Subject: below --
2002-04-06  5:43 Alexander Viro
2002-04-06  8:10 ` Andrew Morton
2002-04-06 16:29 ` Linus Torvalds
2002-04-06 16:52   ` Alexander Viro
2002-04-06 17:17     ` Alexander Viro
2002-04-06 18:23       ` Linus Torvalds
2002-04-06 19:09         ` Alexander Viro
2002-04-06 20:41         ` Alan Cox

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox