security.c (15a2460ed0af7538ca8e6c610fe607a2cd9da142) | security.c (f1752eec6145c97163dbce62d17cf5d928e28a27) |
---|---|
1/* 2 * Security plug functions 3 * 4 * Copyright (C) 2001 WireX Communications, Inc <chris@wirex.com> 5 * Copyright (C) 2001-2002 Greg Kroah-Hartman <greg@kroah.com> 6 * Copyright (C) 2001 Networks Associates Technology, Inc <ssmalley@nai.com> 7 * 8 * This program is free software; you can redistribute it and/or modify --- 602 unchanged lines hidden (view full) --- 611 return security_ops->dentry_open(file); 612} 613 614int security_task_create(unsigned long clone_flags) 615{ 616 return security_ops->task_create(clone_flags); 617} 618 | 1/* 2 * Security plug functions 3 * 4 * Copyright (C) 2001 WireX Communications, Inc <chris@wirex.com> 5 * Copyright (C) 2001-2002 Greg Kroah-Hartman <greg@kroah.com> 6 * Copyright (C) 2001 Networks Associates Technology, Inc <ssmalley@nai.com> 7 * 8 * This program is free software; you can redistribute it and/or modify --- 602 unchanged lines hidden (view full) --- 611 return security_ops->dentry_open(file); 612} 613 614int security_task_create(unsigned long clone_flags) 615{ 616 return security_ops->task_create(clone_flags); 617} 618 |
619int security_task_alloc(struct task_struct *p) | 619int security_cred_alloc(struct cred *cred) |
620{ | 620{ |
621 return security_ops->task_alloc_security(p); | 621 return security_ops->cred_alloc_security(cred); |
622} 623 | 622} 623 |
624void security_task_free(struct task_struct *p) | 624void security_cred_free(struct cred *cred) |
625{ | 625{ |
626 security_ops->task_free_security(p); | 626 security_ops->cred_free(cred); |
627} 628 629int security_task_setuid(uid_t id0, uid_t id1, uid_t id2, int flags) 630{ 631 return security_ops->task_setuid(id0, id1, id2, flags); 632} 633 634int security_task_post_setuid(uid_t old_ruid, uid_t old_euid, --- 538 unchanged lines hidden --- | 627} 628 629int security_task_setuid(uid_t id0, uid_t id1, uid_t id2, int flags) 630{ 631 return security_ops->task_setuid(id0, id1, id2, flags); 632} 633 634int security_task_post_setuid(uid_t old_ruid, uid_t old_euid, --- 538 unchanged lines hidden --- |