Message ID | 20200225200219.6163-16-william.c.roberts@intel.com (mailing list archive) |
---|---|
State | Changes Requested |
Headers | show |
Series | [01/17] security_load_booleans: update return comment | expand |
diff --git a/libselinux/src/avc.c b/libselinux/src/avc.c index 5230efd2323a..7d30f0052f7c 100644 --- a/libselinux/src/avc.c +++ b/libselinux/src/avc.c @@ -156,8 +156,10 @@ int avc_open(struct selinux_opt *opts, unsigned nopts) avc_enforcing = !!opts[nopts].value; break; } - +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wdeprecated-declarations" return avc_init("avc", NULL, NULL, NULL, NULL); +#pragma GCC diagnostic pop } int avc_init(const char *prefix,