do_notify_parent includes the code to convert the exit_code field of
struct task_struct to the code and status fields that accompany SIGCHLD.
Factor that out into a new helper function task_exit_code_status, to
allow other methods of task exit notification to share that code.
Signed-off-by: Josh
handler or a signalfd.
Signed-off-by: Josh Triplett
Signed-off-by: Thiago Macieira
---
include/linux/compat.h | 2 +
include/linux/sched.h | 5 ++
include/uapi/linux/sched.h | 16 +-
init/Kconfig | 11 +
kernel/Makefile| 1 +
kernel/clonefd.c
Signed-off-by: Josh Triplett
Signed-off-by: Thiago Macieira
---
arch/x86/ia32/ia32entry.S | 1 +
arch/x86/kernel/entry_64.S| 1 +
arch/x86/syscalls/syscall_32.tbl | 1 +
arch/x86/syscalls/syscall_64.tbl | 2 ++
include/linux/compat.h| 12 +
include/uapi/a
process's signal
handling or wait loop.
Signed-off-by: Josh Triplett
Signed-off-by: Thiago Macieira
---
include/linux/sched.h | 2 ++
include/uapi/linux/sched.h | 7 ++-
kernel/fork.c | 2 ++
kernel/signal.c| 2 ++
4 files changed, 12 insertions(+), 1 deletion
to sys_clone in favor of the pt_regs captured at
kernel entry, and thus will be unable to introduce new versions of the
clone syscall.
Signed-off-by: Josh Triplett
Signed-off-by: Thiago Macieira
Acked-by: Andy Lutomirski
---
arch/Kconfig | 7 ++
include/linux/sched.h| 14
For 32-bit userspace on a 64-bit kernel, this requires modifying
stub32_clone to actually swap the appropriate arguments to match
CONFIG_CLONE_BACKWARDS, rather than just leaving the C argument for tls
broken.
Signed-off-by: Josh Triplett
Signed-off-by: Thiago Macieira
Acked-by: Andy Lutomirski
e portable.
SEE ALSO
clone(2), epoll(7), poll(2), pthreads(7), read(2), select(2)
Linux 2015-03-14 CLONE4(2)
Josh Triplett and Thiago Macieira (7):
clone: Support passing tls argument via C rather than pt_regs magic
For 32-bit userspace on a 64-bit kernel, this requires modifying
stub32_clone to actually swap the appropriate arguments to match
CONFIG_CLONE_BACKWARDS, rather than just leaving the C argument for tls
broken.
Signed-off-by: Josh Triplett j...@joshtriplett.org
Signed-off-by: Thiago Macieira
to sys_clone in favor of the pt_regs captured at
kernel entry, and thus will be unable to introduce new versions of the
clone syscall.
Signed-off-by: Josh Triplett j...@joshtriplett.org
Signed-off-by: Thiago Macieira thiago.macie...@intel.com
Acked-by: Andy Lutomirski l...@kernel.org
---
arch/Kconfig
do_notify_parent includes the code to convert the exit_code field of
struct task_struct to the code and status fields that accompany SIGCHLD.
Factor that out into a new helper function task_exit_code_status, to
allow other methods of task exit notification to share that code.
Signed-off-by: Josh
handler or a signalfd.
Signed-off-by: Josh Triplett j...@joshtriplett.org
Signed-off-by: Thiago Macieira thiago.macie...@intel.com
---
include/linux/compat.h | 2 +
include/linux/sched.h | 5 ++
include/uapi/linux/sched.h | 16 +-
init/Kconfig | 11 +
kernel
-by: Josh Triplett j...@joshtriplett.org
Signed-off-by: Thiago Macieira thiago.macie...@intel.com
---
arch/x86/ia32/ia32entry.S | 1 +
arch/x86/kernel/entry_64.S| 1 +
arch/x86/syscalls/syscall_32.tbl | 1 +
arch/x86/syscalls/syscall_64.tbl | 2 ++
include/linux/compat.h
process's signal
handling or wait loop.
Signed-off-by: Josh Triplett j...@joshtriplett.org
Signed-off-by: Thiago Macieira thiago.macie...@intel.com
---
include/linux/sched.h | 2 ++
include/uapi/linux/sched.h | 7 ++-
kernel/fork.c | 2 ++
kernel/signal.c| 2 ++
4
Also includes new cross-reference from clone.2.
Signed-off-by: Josh Triplett j...@joshtriplett.org
---
man2/clone.2 | 1 +
man2/clone4.2 | 345 ++
2 files changed, 346 insertions(+)
create mode 100644 man2/clone4.2
diff --git a/man2
structure initializers to only initialize the arguments they care
about. Future extensions to clone4_args will thus not need to touch
clone4, fork, vfork, or other callers of _do_fork.
Signed-off-by: Josh Triplett j...@joshtriplett.org
Signed-off-by: Thiago Macieira thiago.macie...@intel.com
---
kernel
On Sun, Mar 15, 2015 at 12:59:17AM -0700, Josh Triplett wrote:
This patch series also introduces a clone flag CLONE_AUTOREAP, which causes
the
kernel to automatically reap the child process when it exits, just as it does
for processes using SIGCHLD when the parent has SIGCHLD ignored
On Sun, Mar 15, 2015 at 10:18:05AM +, David Drysdale wrote:
On Sat, Mar 14, 2015 at 7:29 PM, Josh Triplett j...@joshtriplett.org wrote:
On Sat, Mar 14, 2015 at 12:03:12PM -0700, Thiago Macieira wrote:
On Friday 13 March 2015 18:11:32 Thiago Macieira wrote:
On Friday 13 March 2015 14:51
to be portable.
SEE ALSO
clone(2), epoll(7), poll(2), pthreads(7), read(2), select(2)
Linux 2015-03-14 CLONE4(2)
Josh Triplett and Thiago Macieira (7):
clone: Support passing tls argument via C rather than pt_regs magic
x86: Opt
On Sun, Mar 15, 2015 at 03:52:23PM +0100, Oleg Nesterov wrote:
On 03/15, Josh Triplett wrote:
Add a CLONE_AUTOREAP flag to request this behavior unconditionally,
Yes, CLONE_AUTOREAP is much better. And I agree (mostly) with that
we should rely on do_notify_parent().
Howver the patch
On Sun, Mar 15, 2015 at 08:55:06PM +0100, Oleg Nesterov wrote:
On 03/15, Josh Triplett wrote:
On Sun, Mar 15, 2015 at 03:52:23PM +0100, Oleg Nesterov wrote:
On 03/15, Josh Triplett wrote:
Add a CLONE_AUTOREAP flag to request this behavior unconditionally,
Yes, CLONE_AUTOREAP
(default y) in the
EXPERT menu to disable this? You actually seem to already have it
marked as a cond_syscall.
Also, a very minor nit: flags in kernel APIs aren't typically named with
a _FLAG suffix.
With the syscall made optional, and with or without that naming nit
fixed:
Reviewed-by: Josh Triplett j
On Sat, Mar 14, 2015 at 09:30:29PM +0100, Oleg Nesterov wrote:
> On 03/14, Josh Triplett wrote:
> >
> > What I was proposing was that a task that isn't yet dead, but that is
> > going to be autoreaped, is not eligible for waiting either. All the
> > various wait* fam
So you'd pass a 0 signal,
and CLONE_AUTOREAP. And then if you *want* the exit notification, you
can get it via the file descriptor.
- Josh Triplett
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo i
to handle job control for a
process without touching process-wide signal handling), but that can
come later.
> At the same time, if we add autoreap then probably it also makes sense to add
> WEXITIED_UNLESS_AUTOREAP.
Potentially, though for many applications you could also just pass a
On Sat, Mar 14, 2015 at 08:47:21PM +0100, Oleg Nesterov wrote:
> On 03/14, Oleg Nesterov wrote:
> >
> > On 03/14, Josh Triplett wrote:
> > >
> > > On Sat, Mar 14, 2015 at 11:38:29AM -0700, Thiago Macieira wrote:
> > > > On Saturd
On Sat, Mar 14, 2015 at 08:18:36PM +0100, Oleg Nesterov wrote:
> On 03/14, Josh Triplett wrote:
> >
> > On Sat, Mar 14, 2015 at 11:38:29AM -0700, Thiago Macieira wrote:
> > > On Saturday 14 March 2015 15:32:35 Oleg Nesterov wrote:
> > > > It is not
On Sat, Mar 14, 2015 at 08:24:56PM +0100, Oleg Nesterov wrote:
> On 03/14, Josh Triplett wrote:
> >
> > On Sat, Mar 14, 2015 at 03:35:58PM +0100, Oleg Nesterov wrote:
> > > On 03/12, Josh Triplett wrote:
> > > >
> > > > @@ -598,7 +600,9 @@
dedicated syscall, not an ioctl.
It's unfortunate that rt_sigqueueinfo doesn't take a flags argument.
However, I just realized that it takes a 32-bit "int" for the signal
number, yet signal numbers fit in 8 bits. So we could just add flags in
the high 24 bits of that argument,
On Sat, Mar 14, 2015 at 03:35:58PM +0100, Oleg Nesterov wrote:
> On 03/12, Josh Triplett wrote:
> >
> > @@ -598,7 +600,9 @@ static void exit_notify(struct task_struct *tsk, int
> > group_dead)
> > if (group_dead)
> > kill_orph
nk we need
to change wait_consider_task to early-return for ->autoreap just as it
does for task_state == EXIT_DEAD. I'll do that in v2.
- Josh Triplett
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More major
as it
does for task_state == EXIT_DEAD. I'll do that in v2.
- Josh Triplett
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http
in
the high 24 bits of that argument, and in particular add a flag
indicating that the first argument is a file descriptor rather than a
PID.
- Josh Triplett
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info
On Sat, Mar 14, 2015 at 03:35:58PM +0100, Oleg Nesterov wrote:
On 03/12, Josh Triplett wrote:
@@ -598,7 +600,9 @@ static void exit_notify(struct task_struct *tsk, int
group_dead)
if (group_dead)
kill_orphaned_pgrp(tsk-group_leader, NULL);
- if (unlikely(tsk
On Sat, Mar 14, 2015 at 08:47:21PM +0100, Oleg Nesterov wrote:
On 03/14, Oleg Nesterov wrote:
On 03/14, Josh Triplett wrote:
On Sat, Mar 14, 2015 at 11:38:29AM -0700, Thiago Macieira wrote:
On Saturday 14 March 2015 15:32:35 Oleg Nesterov wrote:
It is not clear to me what
, you
can get it via the file descriptor.
- Josh Triplett
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
On Sat, Mar 14, 2015 at 08:18:36PM +0100, Oleg Nesterov wrote:
On 03/14, Josh Triplett wrote:
On Sat, Mar 14, 2015 at 11:38:29AM -0700, Thiago Macieira wrote:
On Saturday 14 March 2015 15:32:35 Oleg Nesterov wrote:
It is not clear to me what do_wait() should do with -autoreap child
On Sat, Mar 14, 2015 at 08:24:56PM +0100, Oleg Nesterov wrote:
On 03/14, Josh Triplett wrote:
On Sat, Mar 14, 2015 at 03:35:58PM +0100, Oleg Nesterov wrote:
On 03/12, Josh Triplett wrote:
@@ -598,7 +600,9 @@ static void exit_notify(struct task_struct *tsk,
int group_dead
.
Potentially, though for many applications you could also just pass a
signal of 0 and avoid passing __WALL or __WCLONE.
- Josh Triplett
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at http
On Sat, Mar 14, 2015 at 09:30:29PM +0100, Oleg Nesterov wrote:
On 03/14, Josh Triplett wrote:
What I was proposing was that a task that isn't yet dead, but that is
going to be autoreaped, is not eligible for waiting either. All the
various wait* familiy of system calls should pretend
On Fri, Mar 13, 2015 at 04:05:29PM +, David Drysdale wrote:
> On Fri, Mar 13, 2015 at 1:40 AM, Josh Triplett wrote:
> > This patch series introduces a new clone flag, CLONE_FD, which lets the
> > caller
> > handle child process exit notification via a file descriptor ra
objtree)
> merge_config.sh: improve indentation
> merge_config.sh: rename MAKE to RUNMAKE
> kbuild: add generic mergeconfig target, %.config
For all six:
Reviewed-by: Josh Triplett
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of
On Fri, Mar 13, 2015 at 04:05:29PM +, David Drysdale wrote:
On Fri, Mar 13, 2015 at 1:40 AM, Josh Triplett j...@joshtriplett.org wrote:
This patch series introduces a new clone flag, CLONE_FD, which lets the
caller
handle child process exit notification via a file descriptor rather
MAKE to RUNMAKE
kbuild: add generic mergeconfig target, %.config
For all six:
Reviewed-by: Josh Triplett j...@joshtriplett.org
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at http
Also includes new cross-reference from clone.2.
Signed-off-by: Josh Triplett
Signed-off-by: Thiago Macieira
---
man2/clone.2 | 1 +
man2/clone4.2 | 332 ++
2 files changed, 333 insertions(+)
create mode 100644 man2/clone4.2
diff
it.
Signed-off-by: Josh Triplett
Signed-off-by: Thiago Macieira
---
include/linux/sched.h | 5 ++
include/uapi/linux/sched.h | 23 -
init/Kconfig | 11
kernel/Makefile| 1 +
kernel/clonefd.c | 123
) is Linux-specific and should not be used in programs intended
to be portable.
SEE ALSO
clone(2), epoll(7), poll(2), pthreads(7), read(2), select(2)
Linux 2015-03-01 CLONE4(2)
Josh Triplett and Thiago Macieira (6):
clone: Suppo
to sys_clone in favor of the pt_regs captured at
kernel entry, and thus will be unable to introduce new versions of the
clone syscall.
Signed-off-by: Josh Triplett
Signed-off-by: Thiago Macieira
---
arch/Kconfig | 7 ++
include/linux/sched.h| 14
include/linux
do_notify_parent includes the code to convert the exit_code field of
struct task_struct to the code and status fields that accompany SIGCHLD.
Factor that out into a new helper function task_exit_code_status, to
allow other methods of task exit notification to share that code.
Signed-off-by: Josh
For 32-bit userspace on a 64-bit kernel, this requires modifying
stub32_clone to actually swap the appropriate arguments to match
CONFIG_CLONE_BACKWARDS, rather than just leaving the C argument for tls
broken.
Signed-off-by: Josh Triplett
Signed-off-by: Thiago Macieira
---
arch/x86/Kconfig
This allows callers to allocate a file descriptor with a defined minimum
value, without directly calling the lower-level __alloc_fd.
Signed-off-by: Josh Triplett
Signed-off-by: Thiago Macieira
---
fs/file.c| 2 +-
include/linux/file.h | 1 +
2 files changed, 2 insertions(+), 1
Signed-off-by: Josh Triplett
Signed-off-by: Thiago Macieira
---
arch/x86/ia32/ia32entry.S| 1 +
arch/x86/kernel/entry_64.S | 1 +
arch/x86/syscalls/syscall_32.tbl | 1 +
arch/x86/syscalls/syscall_64.tbl | 2 ++
include/linux/compat.h | 12
include/uapi/lin
-by: Josh Triplett j...@joshtriplett.org
Signed-off-by: Thiago Macieira thiago.macie...@intel.com
---
arch/x86/ia32/ia32entry.S| 1 +
arch/x86/kernel/entry_64.S | 1 +
arch/x86/syscalls/syscall_32.tbl | 1 +
arch/x86/syscalls/syscall_64.tbl | 2 ++
include/linux/compat.h | 12
-specific and should not be used in programs intended
to be portable.
SEE ALSO
clone(2), epoll(7), poll(2), pthreads(7), read(2), select(2)
Linux 2015-03-01 CLONE4(2)
Josh Triplett and Thiago Macieira (6):
clone: Support
to sys_clone in favor of the pt_regs captured at
kernel entry, and thus will be unable to introduce new versions of the
clone syscall.
Signed-off-by: Josh Triplett j...@joshtriplett.org
Signed-off-by: Thiago Macieira thiago.macie...@intel.com
---
arch/Kconfig | 7 ++
include/linux
do_notify_parent includes the code to convert the exit_code field of
struct task_struct to the code and status fields that accompany SIGCHLD.
Factor that out into a new helper function task_exit_code_status, to
allow other methods of task exit notification to share that code.
Signed-off-by: Josh
For 32-bit userspace on a 64-bit kernel, this requires modifying
stub32_clone to actually swap the appropriate arguments to match
CONFIG_CLONE_BACKWARDS, rather than just leaving the C argument for tls
broken.
Signed-off-by: Josh Triplett j...@joshtriplett.org
Signed-off-by: Thiago Macieira
This allows callers to allocate a file descriptor with a defined minimum
value, without directly calling the lower-level __alloc_fd.
Signed-off-by: Josh Triplett j...@joshtriplett.org
Signed-off-by: Thiago Macieira thiago.macie...@intel.com
---
fs/file.c| 2 +-
include/linux/file.h
it.
Signed-off-by: Josh Triplett j...@joshtriplett.org
Signed-off-by: Thiago Macieira thiago.macie...@intel.com
---
include/linux/sched.h | 5 ++
include/uapi/linux/sched.h | 23 -
init/Kconfig | 11
kernel/Makefile| 1 +
kernel/clonefd.c
Also includes new cross-reference from clone.2.
Signed-off-by: Josh Triplett j...@joshtriplett.org
Signed-off-by: Thiago Macieira thiago.macie...@intel.com
---
man2/clone.2 | 1 +
man2/clone4.2 | 332 ++
2 files changed, 333 insertions
g about malicious compromise here; malicious code
could just remove the write protection. However, write-protecting
kernel read-only data also protects against a class of bugs.
- Josh Triplett
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
th
. However, write-protecting
kernel read-only data also protects against a class of bugs.
- Josh Triplett
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
ommand line option, so that I don't
> have
> to recompile between measurements and thus am completely oranges-to-oranges)
>
> [0.031768] Write protecting the kernel read-only data: 10240k
>
> which, in percentage, is an 18% improvement.
Nice improvement, but that suggests that w
)
[0.031768] Write protecting the kernel read-only data: 10240k
which, in percentage, is an 18% improvement.
Nice improvement, but that suggests that we're spending far too much
time waiting on RCU grace periods at boot time.
- Josh Triplett
--
To unsubscribe from this list: send the line
all_rcu() doesn't actually help if
it still has to finish a grace period before it can allow later bits to
run. Ideally, we ought to be able to work out the "depth" of boot in
grace-periods.
Has anyone wired initcall_debug up to a bootchart-like graph?
- Josh Triplett
--
To unsubscribe f
it can allow later bits to
run. Ideally, we ought to be able to work out the depth of boot in
grace-periods.
Has anyone wired initcall_debug up to a bootchart-like graph?
- Josh Triplett
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord
On Sat, Feb 14, 2015 at 03:29:37PM +0100, Hannes Reinecke wrote:
> On 02/13/2015 04:45 PM, Josh Triplett wrote:
> > On Fri, Feb 13, 2015 at 09:48:36AM +0100, Hannes Reinecke wrote:
> >> On 02/12/2015 06:18 PM, Josh Triplett wrote:
> >>> On Thu, Feb 12, 2015 at 02:
On Sat, Feb 14, 2015 at 03:29:37PM +0100, Hannes Reinecke wrote:
On 02/13/2015 04:45 PM, Josh Triplett wrote:
On Fri, Feb 13, 2015 at 09:48:36AM +0100, Hannes Reinecke wrote:
On 02/12/2015 06:18 PM, Josh Triplett wrote:
On Thu, Feb 12, 2015 at 02:29:35PM +0100, Hannes Reinecke wrote
On Fri, Feb 13, 2015 at 09:48:36AM +0100, Hannes Reinecke wrote:
> On 02/12/2015 06:18 PM, Josh Triplett wrote:
> > On Thu, Feb 12, 2015 at 02:29:35PM +0100, Hannes Reinecke wrote:
> >> On 02/12/2015 01:36 PM, Geert Uytterhoeven wrote:
> >>> On Wed, Feb 11, 2015 at
On Fri, Feb 13, 2015 at 09:48:36AM +0100, Hannes Reinecke wrote:
On 02/12/2015 06:18 PM, Josh Triplett wrote:
On Thu, Feb 12, 2015 at 02:29:35PM +0100, Hannes Reinecke wrote:
On 02/12/2015 01:36 PM, Geert Uytterhoeven wrote:
On Wed, Feb 11, 2015 at 8:16 PM, Linux Kernel Mailing List
linux
ous CPUs overwriting each other and _not_ introduce additional
> latency by locking a single buffer, then yes.
>
> We can possibly reduce it to, say, 1KiB or even lower by imposing
> stricter rules on the logging functions.
> But I don't see a way around the per-CPU buffer.
It seems
go away when !SMP, or !PRINTK, or if users don't actually
care about message ordering.
Also, this doesn't seem to be configurable at all.
- Josh Triplett
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo
llow those to be disabled at all, which saves even more
> on Kconfig noise.
Please don't.
> > Personally, I'm hoping that we eventually end up with a disableable
> > CONFIG_CHAR similar to CONFIG_BLOCK.
>
> If we ditch DEVMEM_RANDOM i.e. make certain devices undisableable then
> it seems CONFIG_CHAR wouldn't be possible either.
An excellent reason not to ditch it, then.
- Josh Triplett
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
end up with a disableable
CONFIG_CHAR similar to CONFIG_BLOCK.
If we ditch DEVMEM_RANDOM i.e. make certain devices undisableable then
it seems CONFIG_CHAR wouldn't be possible either.
An excellent reason not to ditch it, then.
- Josh Triplett
--
To unsubscribe from this list: send the line
em that scales, such that if you need more functionality, you
can turn on a few more options without rewriting all your code for
another environment? Why not use an OS that will definitely run on your
next piece of hardware too, without needing a total rewrite?
I would hope that I'm preaching to the
>> Also, groups.c is compiled out completely.
> >>>
> >>> This change saves about 25 KB on a defconfig build.
> >>>
> >>> The kernel was booted in Qemu. All the common functionalities work. Adding
> >>> users/groups is not possible, failing
)
Signed-off-by: Iulia Manda iulia.mand...@gmail.com
Reviewed-by: Josh Triplett j...@joshtriplett.org
v2 does nothing to address the longstanding position of
the community that disabling the traditional user based
access controls is unacceptable.
So far that longstanding position
for
another environment? Why not use an OS that will definitely run on your
next piece of hardware too, without needing a total rewrite?
I would hope that I'm preaching to the choir here. Let's take a step
back from the philosophy for a moment, and go back to reviewing code and
patches.
- Josh Triplett
On Tue, Jan 20, 2015 at 05:23:06PM -0800, Casey Schaufler wrote:
> On 1/20/2015 4:50 PM, Josh Triplett wrote:
> > On Tue, Jan 20, 2015 at 04:05:00PM -0800, Casey Schaufler wrote:
> >> On 1/20/2015 3:33 PM, Iulia Manda wrote:
> >>> There are a lot of embedde
gt; This change saves about 25 KB on a defconfig build.
> >
> > Bloat-o-meter output:
> > add/remove: 7/66 grow/shrink: 21/421 up/down: 1701/-27172 (-25471)
> >
> > Signed-off-by: Iulia Manda
> > Reviewed-by: Josh Triplett
>
> Authoritative LSM hook
(-25471)
Signed-off-by: Iulia Manda iulia.mand...@gmail.com
Reviewed-by: Josh Triplett j...@joshtriplett.org
Authoritative LSM hooks were loudly rejected in or about 1999.
One of the primary reasons they were rejected was because you could
use them do exactly what this patch does, which
On Tue, Jan 20, 2015 at 05:23:06PM -0800, Casey Schaufler wrote:
On 1/20/2015 4:50 PM, Josh Triplett wrote:
On Tue, Jan 20, 2015 at 04:05:00PM -0800, Casey Schaufler wrote:
On 1/20/2015 3:33 PM, Iulia Manda wrote:
There are a lot of embedded systems that run most or all
On Mon, Jan 12, 2015 at 04:24:00PM +0800, Fam Zheng wrote:
> On Thu, 01/08 21:21, Josh Triplett wrote:
> > On Fri, Jan 09, 2015 at 12:49:08PM +0800, Fam Zheng wrote:
> > > On Thu, 01/08 18:24, Andy Lutomirski wrote:
> > > > On Thu, Jan 8, 2015 at 5:52 PM, Fam Zheng
On Mon, Jan 12, 2015 at 04:24:00PM +0800, Fam Zheng wrote:
On Thu, 01/08 21:21, Josh Triplett wrote:
On Fri, Jan 09, 2015 at 12:49:08PM +0800, Fam Zheng wrote:
On Thu, 01/08 18:24, Andy Lutomirski wrote:
On Thu, Jan 8, 2015 at 5:52 PM, Fam Zheng f...@redhat.com wrote:
On Thu, 01/08
e / fix anything.
Easy enough to get it back out of version control if so.
- Josh Triplett
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
control if so.
- Josh Triplett
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
CK_MONOTONIC, if it needs
extending in the future, it'd be painful to have to remap new CLOCK_*
constants into the EPOLL_FL_* namespace. (I do think dropping timeouts
in favor of timerfds makes things more nicely orthogonal, but epoll_wait
already has a timeout parameter, so *shrug*.)
Also, I think t
either making flags a top-level parameter or putting it
at the start of the structure, to make future extension easier.
/bikeshed
- Josh Triplett
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at http
+linux-sparse
On Fri, Jan 02, 2015 at 09:51:25AM -0500, Murali Karicheri wrote:
> On 12/16/2014 01:23 PM, Murali Karicheri wrote:
> >netdev maintainers,
> >
> >I got a comment to address CHECK warning and wondering how to address
> >'warning: testing a 'safe expression' which appears when using
>
+linux-sparse
On Fri, Jan 02, 2015 at 09:51:25AM -0500, Murali Karicheri wrote:
On 12/16/2014 01:23 PM, Murali Karicheri wrote:
netdev maintainers,
I got a comment to address CHECK warning and wondering how to address
'warning: testing a 'safe expression' which appears when using
On Tue, Dec 09, 2014 at 03:35:37PM -0800, Luis R. Rodriguez wrote:
> From: "Luis R. Rodriguez"
>
> We'll be adding options for xen as well.
>
> Cc: Josh Triplett
> Cc: Borislav Petkov
> Cc: Pekka Enberg
> Cc: David Rientjes
> Cc: Michal Marek
> Cc
On Tue, Dec 09, 2014 at 03:35:37PM -0800, Luis R. Rodriguez wrote:
From: Luis R. Rodriguez mcg...@suse.com
We'll be adding options for xen as well.
Cc: Josh Triplett j...@joshtriplett.org
Cc: Borislav Petkov b...@suse.de
Cc: Pekka Enberg penb...@kernel.org
Cc: David Rientjes rient
mconfig is for kvm
> x86, arm, platform, xen, kconfig: add xen defconfig helper
For both:
Reviewed-by: Josh Triplett
> arch/x86/configs/xen.config | 6 ++
> kernel/configs/xen.config | 32
> scripts/kconfig/Makefile| 7 ++-
> 3 files c
, kconfig: add xen defconfig helper
For both:
Reviewed-by: Josh Triplett j...@joshtriplett.org
arch/x86/configs/xen.config | 6 ++
kernel/configs/xen.config | 32
scripts/kconfig/Makefile| 7 ++-
3 files changed, 44 insertions(+), 1 deletion
se for testing purposes, but I don't think it makes sense
for the final patch. I'd suggest making it a completely automatic
symbol with no title.
> >
> >>> +def_bool n
You already say "bool" above, and "default n" is the default default, so
you can
atch
combined with a few selects.
The code looks good to me. Assuming it compiles on x86, with tinyconfig
and with allyesconfig minus SRCU (and whatever requires it), this seems
reasonable.
Thanks for working on this!
- Josh Triplett
> v2:
> - handle cpufreq, devfreq and notifier
> - build
and with allyesconfig minus SRCU (and whatever requires it), this seems
reasonable.
Thanks for working on this!
- Josh Triplett
v2:
- handle cpufreq, devfreq and notifier
- build tested tinyconfig on powerpc
arch/arm/kvm/Kconfig | 1 +
arch/arm64/kvm/Kconfig | 1 +
arch/ia64/kvm/Kconfig| 1
it a completely automatic
symbol with no title.
+def_bool n
You already say bool above, and default n is the default default, so
you can omit this line entirely.
- Josh Triplett
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord
v6 looks good to me.
Reviewed-by: Josh Triplett
Should this go through the tinification tree or the selftests tree?
- Josh Triplett
> Changes from v5:
> - remove #ifdef in Makefile (doh!)
> - use variables in build command
> - use different num_to_str, with less conversions
&
.
Reviewed-by: Josh Triplett j...@joshtriplett.org
Should this go through the tinification tree or the selftests tree?
- Josh Triplett
Changes from v5:
- remove #ifdef in Makefile (doh!)
- use variables in build command
- use different num_to_str, with less conversions
Changes from v4
On Wed, Nov 26, 2014 at 08:27:23PM -0800, Tim Bird wrote:
> --- /dev/null
> +++ b/tools/testing/selftests/size/Makefile
[...]
> +LIBGCC=$(shell $(CC) -print-libgcc-file-name)
> +
> +get_size: get_size.c
> + $(CC) --static -ffreestanding -nostartfiles \
> + -Wl,--entry=_start
701 - 800 of 2693 matches
Mail list logo