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
 [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: Sun Jul 21 05:01:30 2024 UTC