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 PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Sun, 22 Nov 2020 13:43:18 +0100 From: Florian Weimer <fw@...eb.enyo.de> To: Alejandro Colomar <alx.manpages@...il.com> Cc: mtk.manpages@...il.com, linux-man@...r.kernel.org, linux-kernel@...r.kernel.org Subject: Re: [PATCH] lseek.2: SYNOPSIS: Use correct types * Alejandro Colomar: > The Linux kernel uses 'unsigned int' instead of 'int' for 'fd' and > 'whence'. As glibc provides no wrapper, use the same types the > kernel uses. lseek is a POSIX interface, and glibc provides it. POSIX uses int for file descriptors (and the whence parameter in case of lseek). The llseek system call is a different matter, that's indeed Linux-specific.
Powered by blists - more mailing lists