mirror of
https://github.com/topjohnwu/selinux.git
synced 2024-12-11 21:36:23 +00:00
sidget: annotate deprecated
Signed-off-by: William Roberts <william.c.roberts@intel.com>
This commit is contained in:
parent
81822ece1f
commit
ff51f0c528
@ -64,7 +64,11 @@ extern int avc_context_to_sid_raw(const char * ctx, security_id_t * sid);
|
||||
* reference count). Note that avc_context_to_sid() also
|
||||
* increments reference counts.
|
||||
*/
|
||||
extern int sidget(security_id_t sid);
|
||||
extern int sidget(security_id_t sid)
|
||||
#ifdef __GNUC__
|
||||
__attribute__ ((deprecated))
|
||||
#endif
|
||||
;
|
||||
|
||||
/**
|
||||
* sidput - decrement SID reference counter.
|
||||
|
Loading…
Reference in New Issue
Block a user