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
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Tue, 2 Oct 2007 13:52:33 +0200 (CEST)
From:	Jan Engelhardt <jengelh@...putergmbh.de>
To:	Giuliano Gagliardi <gogi-k@...i.tv>
cc:	linux-kernel@...r.kernel.org
Subject: Re: One process with multiple user ids.


On Oct 2 2007 13:39, Giuliano Gagliardi wrote:
>>
>> You could write up a LSM that restricts UID changing.
>
>Would you not consider it more useful to let one process have multiple user 
>ids? I do not see why they can have multiple group ids, but only (and 
>exactly) three user ids.

It would raise the complexity enormously. In the kernel, you
currently do if (current->uid == inode->i_uid) or so. If you were to
have multiple identities, that would evolve into a costly "if
(in_user_p(inode->i_uid))" or so, much like in_group_p does it at the
moment.
-
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ