All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jeff Dike <jdike@addtoit.com>
To: Arnd Bergmann <arnd@arndb.de>
Cc: Bj?rn Steinbrink <B.Steinbrink@gmx.de>,
	Benjamin Herrenschmidt <benh@kernel.crashing.org>,
	Paul Mackerras <paulus@samba.org>,
	Russell King <rmk+lkml@arm.linux.org.uk>,
	Andrew Morton <akpm@osdl.org>,
	rusty@rustcorp.com.au, linux-kernel@vger.kernel.org,
	linux-arch@vger.kernel.org
Subject: Re: [PATCH] introduce kernel_execve function to replace __KERNEL_SYSCALLS__
Date: Tue, 22 Aug 2006 11:37:23 -0400	[thread overview]
Message-ID: <20060822153723.GA4949@ccure.user-mode-linux.org> (raw)
In-Reply-To: <200608221713.40165.arnd@arndb.de>

On Tue, Aug 22, 2006 at 05:13:39PM +0200, Arnd Bergmann wrote:
> No, that's not what I was referring to. I was thinking of the calls:
> 
> arch/um/os-Linux/process.c:inline _syscall0(pid_t, getpid)
> arch/um/os-Linux/sys-i386/tls.c:static _syscall1(int, get_thread_area, user_desc_t *, u_info);
> arch/um/os-Linux/tls.c:static _syscall1(int, get_thread_area, user_desc_t *, u_info);
> arch/um/os-Linux/tls.c:static _syscall1(int, set_thread_area, user_desc_t *, u_info);
> arch/um/sys-i386/unmap.c:static inline _syscall2(int,munmap,void *,start,size_t,len)
> arch/um/sys-i386/unmap.c:static inline _syscall6(void *,mmap2,void *,addr,size_t,len,int,prot,int,flags,int,fd,off_t,offset)
> arch/um/sys-x86_64/unmap.c:static inline _syscall2(int,munmap,void *,start,size_t,len)
> arch/um/sys-x86_64/unmap.c:static inline _syscall6(void *,mmap,void *,addr,size_t,len,int,prot,int,flags,int,fd,off_t,offset)
> 
> Are these for calling the host OS or calling the UML kernel?
> If they are for the host, they can be implemented using syscall(),
> otherwise by calling the sys_* functions directly.

OK, these are all calling the host, and using syscall() instead sounds
reasonable.

				Jeff

      reply	other threads:[~2006-08-22 15:38 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-19  7:30 [PATCH] Return real errno from execve in ____call_usermodehelper Björn Steinbrink
2006-08-19  8:14 ` Andrew Morton
2006-08-19  8:42   ` Russell King
2006-08-20 13:01     ` Arnd Bergmann
2006-08-20 13:47       ` Björn Steinbrink
2006-08-20 17:13         ` [PATCH] introduce kernel_execve function to replace __KERNEL_SYSCALLS__ Arnd Bergmann
2006-08-20 17:36           ` Chase Venters
2006-08-20 18:25             ` Andrew Morton
2006-08-20 18:32               ` Chase Venters
2006-08-20 19:45                 ` Björn Steinbrink
2006-08-20 19:50                   ` Arjan van de Ven
2006-08-20 20:11                     ` Björn Steinbrink
2006-08-20 20:20                       ` Arjan van de Ven
2006-08-20 20:36                         ` Björn Steinbrink
2006-08-20 20:40                           ` Arjan van de Ven
2006-08-21  1:55                           ` Jeff Dike
2006-08-20 20:33                       ` Arnd Bergmann
2006-08-20 19:31             ` Arnd Bergmann
2006-08-21  0:36           ` Paul Mackerras
2006-08-21 15:12             ` Arnd Bergmann
2006-08-21 15:17               ` Russell King
2006-08-22  7:29               ` Benjamin Herrenschmidt
2006-08-22  8:00                 ` Björn Steinbrink
2006-08-22 10:06                   ` Arnd Bergmann
2006-08-22 13:39                     ` Jeff Dike
2006-08-22 15:13                       ` Arnd Bergmann
2006-08-22 15:37                         ` Jeff Dike [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060822153723.GA4949@ccure.user-mode-linux.org \
    --to=jdike@addtoit.com \
    --cc=B.Steinbrink@gmx.de \
    --cc=akpm@osdl.org \
    --cc=arnd@arndb.de \
    --cc=benh@kernel.crashing.org \
    --cc=linux-arch@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=paulus@samba.org \
    --cc=rmk+lkml@arm.linux.org.uk \
    --cc=rusty@rustcorp.com.au \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.