This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Kernel 3.6 changes: Add F_GETOWNER_UIDS in glibc's <bits/fcntl.h>?
- From: Andreas Jaeger <aj at suse dot com>
- To: libc-alpha <libc-alpha at sourceware dot org>
- Cc: Cyrill Gorcunov <gorcunov at openvz dot org>
- Date: Fri, 12 Oct 2012 21:19:22 +0200
- Subject: Kernel 3.6 changes: Add F_GETOWNER_UIDS in glibc's <bits/fcntl.h>?
Going through changes in 3.6, I noticed the addition of F_GETOWNER_UIDS
in fcntl.h and wonder whether we should add it to the glibc headers or not.
Any advise is welcome,
Thanks,
Andreas
P.S. The Linux commit is:
commit 1d151c337d79fa3de88654d2514f58fbd916a8e0
Author: Cyrill Gorcunov <gorcunov@openvz.org>
Date: Mon Jul 30 14:43:00 2012 -0700
c/r: fcntl: add F_GETOWNER_UIDS option
When we restore file descriptors we would like them to look exactly as
they were at dumping time.
With help of fcntl it's almost possible, the missing snippet is file
owners UIDs.
To be able to read their values the F_GETOWNER_UIDS is introduced.
This option is valid iif CONFIG_CHECKPOINT_RESTORE is turned on,
otherwise
returning -EINVAL.
--
Andreas Jaeger aj@{suse.com,opensuse.org} Twitter/Identica: jaegerandi
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Jeff Hawn,Jennifer Guild,Felix Imendörffer,HRB16746 (AG Nürnberg)
GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126