Message ID | 20200416154352.21619-6-william.c.roberts@intel.com (mailing list archive) |
---|---|
State | Superseded |
Headers | show |
Series | [v2,01/18] security_load_booleans: update return comment | expand |
diff --git a/libselinux/include/selinux/selinux.h b/libselinux/include/selinux/selinux.h index cf2b81ba3162..0b99850ad23d 100644 --- a/libselinux/include/selinux/selinux.h +++ b/libselinux/include/selinux/selinux.h @@ -633,7 +633,8 @@ extern int setexecfilecon(const char *filename, const char *fallback_type); /* Execute a helper for rpm in an appropriate security context. */ extern int rpm_execcon(unsigned int verified, const char *filename, - char *const argv[], char *const envp[]); + char *const argv[], char *const envp[]) + __attribute__((deprecated("Use setexecfilecon and execve"))); #endif /* Returns whether a file context is customizable, and should not