OpenSolaris

Printable Version Enter a New Search
Bug ID 6754724
Synopsis ppriv -s P-... fails unless preceded by ppriv -s E-...
State 1-Dispatched (Default State)
Category:Subcategory utility:proc
Keywords gse-sec-team | immutable-service-containers
Reported Against snv_95
Duplicate Of
Introduced In
Commit to Fix
Fixed In
Release Fixed
Related Bugs
Submit Date 1-October-2008
Last Update Date 2-October-2008
Description
Doing:

ppriv -s P-proc_info $$

fails with a "not owner" error message.

Running

ppriv -s E-proc_info $$

and then

ppriv -s P-proc_info $$

does work.

ppriv(1) doesn't say what the expected behaviour is, but getppriv(2)/setppriv(2) says:

    Privileges removed  from  PRIV_PERMITTED  are  silently
    removed from PRIV_EFFECTIVE.

so I would have expected ppriv(1) to behave similarly.
Work Around
ppriv -s EP-...
Comments
N/A