mirror of
https://github.com/topjohnwu/selinux.git
synced 2025-03-02 08:27:04 +00:00
sidput: annotate deprecated
Signed-off-by: William Roberts <william.c.roberts@intel.com>
This commit is contained in:
parent
ff51f0c528
commit
8c6b40137b
@ -80,7 +80,11 @@ __attribute__ ((deprecated))
|
||||
* zero, the SID is invalid, and avc_context_to_sid() must
|
||||
* be called to obtain a new SID for the security context.
|
||||
*/
|
||||
extern int sidput(security_id_t sid);
|
||||
extern int sidput(security_id_t sid)
|
||||
#ifdef __GNUC__
|
||||
__attribute__ ((deprecated))
|
||||
#endif
|
||||
;
|
||||
|
||||
/**
|
||||
* avc_get_initial_sid - get SID for an initial kernel security identifier
|
||||
|
Loading…
x
Reference in New Issue
Block a user