Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1159783 > unrolled thread
| Started by | Oleg Nesterov <oleg@redhat.com> |
|---|---|
| First post | 2015-06-06 01:50 +0200 |
| Last post | 2015-06-06 01:50 +0200 |
| Articles | 1 — 1 participant |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: [PATCH v3] seccomp: add ptrace options for suspend/resume Oleg Nesterov <oleg@redhat.com> - 2015-06-06 01:50 +0200
| From | Oleg Nesterov <oleg@redhat.com> |
|---|---|
| Date | 2015-06-06 01:50 +0200 |
| Subject | Re: [PATCH v3] seccomp: add ptrace options for suspend/resume |
| Message-ID | <py9x8-7AM-9@gated-at.bofh.it> |
On 06/05, Tycho Andersen wrote: > > right thing to do, just leave out the definition of > may_suspend_seccomp all together, or add in another if defined() in > the header? Just declare it unconditionally in .h. The kernel relies on this kind of dead-code elimination anyway. For example, please look at "extern void __put_user_bad(void)" in uaccess.h. IOW, extern void undefined_func(void); if (0) undefined_func(); should be safe. > Maybe we will get rid of this pesky function all together though... Yes ;) Oleg. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Back to top | Article view | linux.kernel
csiph-web