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
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or 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

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 Jul 17 14:01:29 2024 UTC