From patchwork Fri Dec 9 03:21:23 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: 3.2-rc1 rebase review Date: Thu, 08 Dec 2011 17:21:23 -0000 From: Tetsuo Handa X-Patchwork-Id: 130277 Message-Id: <201112090321.pB93LNQ8080056@www262.sakura.ne.jp> To: keescook@chromium.org Cc: kernel-team@lists.ubuntu.com Kees Cook wrote: > >> Okay, I see what you mean now. It's skipping the register_security() > >> part that hadn't sunk in. :) > > Tetsuo, does this look okay to you? I incorportated some additional > feedback about #ifdef clutter. Looks OK, except one thing. --- a/include/linux/security.h +++ b/include/linux/security.h @@ -3070,5 +3070,47 @@ static inline void free_secdata(void *secdata) { } #endif /* CONFIG_SECURITY */ +#if CONFIG_SECURITY_YAMA +extern int yama_ptrace_access_check(struct task_struct *child, + unsigned int mode); +extern int yama_path_link(struct dentry *old_dentry, struct path *new_dir, Please use "#ifdef CONFIG_SECURITY_YAMA". -- kernel-team mailing list kernel-team@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/kernel-team