lists.openwall.net | 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 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Message-ID: <20071010074218.GA31441@elte.hu> Date: Wed, 10 Oct 2007 09:42:19 +0200 From: Ingo Molnar <mingo@...e.hu> To: Srivatsa Vaddagiri <vatsa@...ux.vnet.ibm.com> Cc: Heiko Carstens <heiko.carstens@...ibm.com>, Dhaval Giani <dhaval@...ux.vnet.ibm.com>, Mike Galbraith <efault@....de>, Peter Zijlstra <a.p.zijlstra@...llo.nl>, Dmitry Adamushko <dmitry.adamushko@...il.com>, lkml <linux-kernel@...r.kernel.org>, maneesh@...ux.vnet.ibm.com, Andrew Morton <akpm@...ux-foundation.org>, Sudhir Kumar <skumar@...ux.vnet.ibm.com> Subject: Re: [PATCH sched-devel] Generate uevents for user creation/destruction * Srivatsa Vaddagiri <vatsa@...ux.vnet.ibm.com> wrote: > > Shouldn't that be done via uevents? E.g. UID x gets added to the > > sysfs tree, generates a uevent and a script then figures out the > > cpu_share and sets it. That way you also don't need to keep the > > directories. No? > > Heiko, > Thanks for the hint. Here's a patch to enable generation of > uevents for user creation/deletion. These uevents can be handled in > userspace to configure a new user's cpu share. > > Note : After bootup I could test that new user's cpu share is > configured as per a configuration file (/etc/user_cpu_share.conf). > However this mechanism didnt work for root user. Perhaps uevent for > root user is generated way too early? > > A HOWTO text file is also attached explaining how to make use of these > uevents in userspace. > > Ingo, > This patch applies on top of latest sched-devel tree. Pls > review and apply .. thanks, applied. This looks reassuringly simple and straightforward! Ingo - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists