ipc.h 515 B

1234567891011121314151617181920212223
  1. /* SPDX-License-Identifier: GPL-2.0-only */
  2. /*
  3. * AppArmor security module
  4. *
  5. * This file contains AppArmor ipc mediation function definitions.
  6. *
  7. * Copyright (C) 1998-2008 Novell/SUSE
  8. * Copyright 2009-2017 Canonical Ltd.
  9. */
  10. #ifndef __AA_IPC_H
  11. #define __AA_IPC_H
  12. #include <linux/sched.h>
  13. #define SIGUNKNOWN 0
  14. #define MAXMAPPED_SIG 35
  15. int aa_may_signal(const struct cred *subj_cred, struct aa_label *sender,
  16. const struct cred *target_cred, struct aa_label *target,
  17. int sig);
  18. #endif /* __AA_IPC_H */