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-next>] [day] [month] [year] [list]
Message-ID: <CALKntY2MONLeRvXs2xdamSAQeWDs4ERHjWuCxNL8_QRrHwVhqg@mail.gmail.com>
Date:	Thu, 5 Apr 2012 17:55:43 -0400
From:	Xin Tong <xerox.time.tech@...il.com>
To:	linux-kernel <linux-kernel@...r.kernel.org>
Subject: syscall descriptor table

Can anyone please describe to me how x86 syscall works ( i.e. how it
is dispatched to the correct function) on x86 ?

mov $1, %eax   ;; __NR_exit = 1
mov $42, %ebx  ;; status = 42
sysenter       ;; perform the syscall!

what does the sysenter instruction do ? what is the difference aganst int 0x80.

Thanks

Xin
--
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