mirror of
https://github.com/SELinuxProject/selinux
synced 2025-02-19 19:17:10 +00:00
matchpathcon: annotate deprecated
Signed-off-by: William Roberts <william.c.roberts@intel.com>
This commit is contained in:
parent
bcb39e6451
commit
124b1d8a7c
@ -494,7 +494,11 @@ extern int realpath_not_final(const char *name, char *resolved_path);
|
||||
If matchpathcon_init has not already been called, then this function
|
||||
will call it upon its first invocation with a NULL path. */
|
||||
extern int matchpathcon(const char *path,
|
||||
mode_t mode, char ** con);
|
||||
mode_t mode, char ** con)
|
||||
#ifdef __GNUC__
|
||||
__attribute__ ((deprecated("Use selabel_lookup instead")))
|
||||
#endif
|
||||
;
|
||||
|
||||
/* Same as above, but return a specification index for
|
||||
later use in a matchpathcon_filespec_add() call - see below. */
|
||||
|
Loading…
Reference in New Issue
Block a user