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:	Sun, 08 Apr 2007 10:19:48 -0600
From: (Eric W. Biederman)
To:	Oleg Nesterov <>
Cc:	Andrew Morton <>,
	Davide Libenzi <>,
	Ingo Molnar <>,
	Linus Torvalds <>,
	Robin Holt <>, Roland McGrath <>,,
Subject: Re: [RFC, PATCH 1/3] introduce SYS_CLONE_MASK

Oleg Nesterov <> writes:

> For review only.
> To implement for-in-kerenl-use-only CLONE_ flags, we need to filter out them
> in sys_clone().


The current clone_flags field is for user space consumption and we
have proposed users for all or almost all of the remaining bits.

If we are going to have kernel only flags please use an additional
argument to do_fork and copy_process.

Your current scheme also has the bad side that if user space supplied
a kernel flag it is hard to detect it and return -EINVAL.  Which
limits future expansion.  Silently dropping clone flags is a real
pain, if you are trying to detect if a new flag has been implemented.

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

Powered by blists - more mailing lists