lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Wed, 03 Sep 2008 13:44:05 +0200
From:	Cedric Le Goater <clg@...ibm.com>
To:	Andrey Mirkin <major@...nvz.org>
CC:	linux-kernel@...r.kernel.org, containers@...ts.linux-foundation.org
Subject: Re: [PATCH 1/9] Introduce trivial sys_checkpoint and sys_restore
 system	calls

Andrey Mirkin wrote:
> Right now they just return -ENOSYS. Later they will provide functionality
> to checkpoint and restart a container.
> 
> Both syscalls take as arguments a file descriptor and flags.
> Also sys_checkpoint take as the first argument a PID of container's init
> (later it will be container ID); sys_restart takes as the first argument
> a container ID (right now it will not be used).
> 
> Signed-off-by: Andrey Mirkin <major@...nvz.org>
> ---
>  Makefile                           |    2 +-
>  arch/x86/kernel/syscall_table_32.S |    2 +
>  cpt/Makefile                       |    1 +
>  cpt/sys_core.c                     |   38 ++++++++++++++++++++++++++++++++++++
>  include/asm-x86/unistd_32.h        |    2 +
>  5 files changed, 44 insertions(+), 1 deletions(-)
>  create mode 100644 cpt/Makefile
>  create mode 100644 cpt/sys_core.c
> 
> diff --git a/Makefile b/Makefile
> index ea413fa..1dee5c0 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -619,7 +619,7 @@ export mod_strip_cmd
>  
>  
>  ifeq ($(KBUILD_EXTMOD),)
> -core-y		+= kernel/ mm/ fs/ ipc/ security/ crypto/ block/
> +core-y		+= kernel/ mm/ fs/ ipc/ security/ crypto/ block/ cpt/
>  
>  vmlinux-dirs	:= $(patsubst %/,%,$(filter %/, $(init-y) $(init-m) \
>  		     $(core-y) $(core-m) $(drivers-y) $(drivers-m) \
> diff --git a/arch/x86/kernel/syscall_table_32.S b/arch/x86/kernel/syscall_table_32.S
> index fd9d4f4..4a0d7fb 100644
> --- a/arch/x86/kernel/syscall_table_32.S
> +++ b/arch/x86/kernel/syscall_table_32.S
> @@ -333,3 +333,5 @@ ENTRY(sys_call_table)
>  	.long sys_pipe2
>  	.long sys_inotify_init1
>  	.long sys_hijack
> +	.long sys_checkpoint
> +	.long sys_restart		/* 335 */

this patchset is based on top of :

git://git.kernel.org/pub/scm/linux/kernel/git/daveh/linux-2.6-lxc.git

right ?

C.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ