The mode argument for open(2)/openat(2) only makes sense if the O_CREAT flag
authorpjd <pjd@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sat, 16 Mar 2013 23:10:40 +0000 (23:10 +0000)
committerpjd <pjd@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sat, 16 Mar 2013 23:10:40 +0000 (23:10 +0000)
commit730d3d62138fa91239b6d130a866e6445acfb64b
tree4af4e7f88d7e8ac5dce3da138cbb10692a408065
parent04b14fcc9eba0d59c67666b98480afaa8f41e8ec
The mode argument for open(2)/openat(2) only makes sense if the O_CREAT flag
was given.

Sponsored by: The FreeBSD Foundation

git-svn-id: svn://svn.freebsd.org/base/head@248394 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
tools/regression/security/cap_test/cap_test_capabilities.c