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 Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: dump at lxlabs dot com
New email:
PHP Version: OS:

 

 [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

Pull Requests

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: Sat Dec 21 13:01:31 2024 UTC