]> git.decadent.org.uk Git - nfs-utils.git/commit
It appears that a recent glibc update now enforces the requirement for a mode
authorSteve Dickson <steved@redhat.com>
Tue, 15 Jul 2008 18:43:00 +0000 (14:43 -0400)
committerSteve Dickson <steved@redhat.com>
Tue, 15 Jul 2008 18:43:00 +0000 (14:43 -0400)
commit8e158aa65577b96494eaa94c4983eed1449116dc
treec2134cc8cf8dd6078a46221d33d8825f5d34aeeb
parent8dfb9661a132a206c10067f40e274cf797dab1b2
It appears that a recent glibc update now enforces the requirement for a mode
parameter for open calls with the O_CREAT flag set.  nfs-utils support code
defines a function xflock used by exportfs and mountd that calls open with
O_CREAT but no mode parameter.  This causes exportfs and mountd to dump core,
with the error message:
*** invalid open64 call: O_CREAT without mode ***:rpc.mountd terminated

Signed-off-by: Steve Dickson <steved@redhat.com>
support/nfs/xio.c