ipc.h 732 B

1234567891011121314151617181920212223242526272829
  1. /*
  2. * AppArmor security module
  3. *
  4. * This file contains AppArmor ipc mediation function definitions.
  5. *
  6. * Copyright (C) 1998-2008 Novell/SUSE
  7. * Copyright 2009-2010 Canonical Ltd.
  8. *
  9. * This program is free software; you can redistribute it and/or
  10. * modify it under the terms of the GNU General Public License as
  11. * published by the Free Software Foundation, version 2 of the
  12. * License.
  13. */
  14. #ifndef __AA_IPC_H
  15. #define __AA_IPC_H
  16. #include <linux/sched.h>
  17. struct aa_profile;
  18. int aa_may_ptrace(struct task_struct *tracer_task, struct aa_profile *tracer,
  19. struct aa_profile *tracee, unsigned int mode);
  20. int aa_ptrace(struct task_struct *tracer, struct task_struct *tracee,
  21. unsigned int mode);
  22. #endif /* __AA_IPC_H */