Package: manpages-dev Version: 3.32-0.2 Severity: wishlist File: /usr/share/man/man2/ioprio_get.2.gz
The ioprio_get(2) manual page describes the meanings of the which and who parameters: > IOPRIO_WHO_PROCESS > who is a process ID identifying a single process. > > IOPRIO_WHO_PGRP > who is a process group ID identifying all the members of > a process group. > > IOPRIO_WHO_USER > who is a user ID identifying all of the processes that > have a matching real UID. The manual page should mention that IOPRIO_WHO_PROCESS and IOPRIO_WHO_PGRP also allow who==0. As implemented in fs/ioprio.c, who==0 means the calling process or its process group. The ioprio program in util-linux already uses the feature. This is worth documenting separately because e.g. tcsetpgrp does not treat pgrp==0 in that way. For IOPRIO_WHO_USER, the situation is more complex: who==0 means the root user in ioprio_set but the current user (I think the real UID of the calling process) in ioprio_get. (That inconsistency might even be a bug.) -- System Information: Debian Release: wheezy/sid APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 3.1.0-1-amd64 (SMP w/4 CPU cores) Locale: LANG=fi_FI.utf8, LC_CTYPE=fi_FI.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages manpages-dev depends on: ii manpages 3.32-0.2 manpages-dev recommends no packages. Versions of packages manpages-dev suggests: ii man-db [man-browser] 2.6.0.2-3 -- no debconf information
pgpTNjBSvrOxk.pgp
Description: PGP signature