On Tue, Jun 23, 2020 at 8:37 AM Ondrej Mosnacek <omosnace@xxxxxxxxxx> wrote: > > In Travis CI, GCC reports in several places: > > gcc -g -O0 -Wall -D_GNU_SOURCE -DHAVE_BPF parent.c -lselinux -o parent > parent.c: In function ‘main’: > parent.c:25:2: warning: ‘security_context_t’ is deprecated [-Wdeprecated-declarations] > security_context_t context_s; > ^~~~~~~~~~~~~~~~~~ > > Fix this by using plain char * instead of security_context_t. > > Signed-off-by: Ondrej Mosnacek <omosnace@xxxxxxxxxx> Acked-by: Stephen Smalley <stephen.smalley.work@xxxxxxxxx>