From: Petko Manolov <petkan@dce.bg>
To: mdaljeet@in.ibm.com
Cc: linux-kernel@vger.kernel.org
Subject: Re: system call handling
Date: Wed, 01 Nov 2000 14:21:48 +0200 [thread overview]
Message-ID: <3A000ADC.43DEB50C@dce.bg> (raw)
In-Reply-To: <CA25698A.00434741.00@d73mta05.au.ibm.com>
mdaljeet@in.ibm.com wrote:
>
> Hi,
>
> By looking into the structure of GDT as used by linux kernel(file
> include/asm/desc.c, kernel ver 2.4), it appears as if linux kernel does not
> use the "call gate descriptors" for system call handling. Is this correct?
You're looking at wrong place. Look at linux/arch/i386/kernel/traps.c
> If it is correct then how does the system calls are handled by the kernel
> (basically how does the control gets transferred to kernel)? Does the CS of
> linux kernel handles the system calls? what are the advantages of using
> this scheme?
System calls in Linux are performed as an interrupt gate (0x80). It is
not
necessary to use call gate. On i386 arch both are almost identical.
Petkan
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
next prev parent reply other threads:[~2000-11-01 12:22 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-11-01 12:07 mdaljeet
2000-11-01 12:21 ` Petko Manolov [this message]
2000-11-01 12:44 ` Richard B. Johnson
2000-11-01 23:53 ` Jamie Lokier
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=3A000ADC.43DEB50C@dce.bg \
--to=petkan@dce.bg \
--cc=linux-kernel@vger.kernel.org \
--cc=mdaljeet@in.ibm.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®