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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
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: Sun Dec 22 01:01:30 2024 UTC