[lkml]   [2002]   [Aug]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH][RFC] sigurg/sigio cleanup for 2.5.31
On Fri, 16 Aug 2002 wrote:

> Hello!
> > All existing paths which write to the pid/uid/euid fields are protected by
> > the BKL
> euid? Are you about current->xxx? You jest, you read it, not write.

I'm talking about writing f_owner fields, i.e:

filp-> = current->pid;
filp->f_owner.uid = current->uid;
filp->f_owner.euid = current->euid;

> Ergo, never use BKL. :-)

Well, do you think it's worth adding a spinlock for just one fcntl handler

- James
James Morris

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:28    [W:0.063 / U:1.668 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site