php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #48488 Posix_setgroups Function is missing.
Submitted: 2009-06-06 22:10 UTC Modified: 2009-06-10 12:55 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: dump at lxlabs dot com Assigned:
Status: Not a bug Package: POSIX related
PHP Version: 5.2.9 OS: Linux
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
46 + 50 = ?
Subscribe to this entry?

 
 [2009-06-06 22:10 UTC] dump at lxlabs dot com
Description:
------------

 Posix_setgroups function is misssing, even though the posix_getgroups has been implemented.

 Posix_setgroups is critical for dropping privileges properly.

Reproduce code:
---------------
<?php

 posix_setgroups($list);

Actual result:
--------------
 Missing function

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-06-10 12:55 UTC] jani@php.net
setgroups(2) is not Posix function.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Apr 24 09:01:28 2024 UTC