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] [thread-next>] [day] [month] [year] [list]
Message-Id: <457E4C5B-7C02-405E-A707-58E37E3EDAFD@gmail.com>
Date: Fri, 12 Oct 2007 05:02:48 -0700
From: Andrew Farmer <andfarm@...il.com>
To: yearsilent <yearsilent@...oo.com>
Cc: Full Disclosure <full-disclosure@...ts.grok.org.uk>
Subject: Re: rPSA-2007-0212-1 util-linux

On 12 Oct 07, at 01:34, yearsilent wrote:
> could anybody explain this bug?
>
>   I saw the git diff:
>
>
>   -                               setuid(getuid());
>   -                               setgid(getgid());
>   +                               if(setgid(getgid()) < 0)
>   +                                       die(EX_FAIL, _("umount:  
> cannot set group id: %s"), strerror(errno));
>   +
>   +                               if(setuid(getuid()) < 0)
>   +                                       die(EX_FAIL, _("umount:  
> cannot set user id: %s"), strerror(errno));
>   +
>
>
> not only root can do mount ? what condition could cause setuid  
> failed ?

setuid() fails if the operation would create more processes owned by  
the target user than the number specified by that user's process- 
count limit.

_______________________________________________
Full-Disclosure - We believe in it.
Charter: http://lists.grok.org.uk/full-disclosure-charter.html
Hosted and sponsored by Secunia - http://secunia.com/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ