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  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]
Date:	Tue, 27 Jul 2010 07:55:34 +0300
From:	"Michael S. Tsirkin" <>
To:	Oleg Nesterov <>
Cc:	Sridhar Samudrala <>,
	Peter Zijlstra <>,
	Tejun Heo <>, Ingo Molnar <>,
	netdev <>,
	lkml <>,
	"" <>,
	Andrew Morton <>,
	Dmitri Vorobiev <>,
	Jiri Kosina <>,
	Thomas Gleixner <>,
	Andi Kleen <>
Subject: Re: [PATCH repost] sched: export sched_set/getaffinity to modules

On Mon, Jul 26, 2010 at 08:08:34PM +0200, Oleg Nesterov wrote:
> On 07/26, Sridhar Samudrala wrote:
> >
> > I have been testing out a similar patch that uses kernel_thread() without CLONE_FILES
> > flag rather than create_kthread() and then closing the files.
> !CLONE_FILES can't help. copy_files() does dup_fd() in this case.
> The child still inherits the files.
> > Either version should be fine.
> I think neither version is fine ;)
> exit_files() is not enough too. How about the signals, reparenting?
> I already forgot all details, probably I missed somethig. But it
> seems to me that it is better to just export get/set affinity and
> forget about all complications.
> Oleg.

Peter, could you please indicate whether you think this is the way to
go, too?

To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to
More majordomo info at

Powered by blists - more mailing lists