freebsd-nq/sys
Mateusz Guzik 28a7f60741 Unbreak handling of descriptors opened with O_EXEC by fexecve(2).
While here return EBADF for descriptors opened for writing (previously it was ETXTBSY).

Add fgetvp_exec function which performs appropriate checks.

PR:		kern/169651
In collaboration with:	kib
Approved by:	trasz (mentor)
MFC after:	1 week
2012-07-08 00:51:38 +00:00
..
amd64 Use assembler mnemonic instead of manually assembling, contination for r238142. 2012-07-06 20:11:58 +00:00
arm Create a generic way to support multiple boards within an 2012-07-07 05:02:39 +00:00
boot Generalize this for loading the loader into the SPI. Plus trim about 2012-07-07 04:55:42 +00:00
bsm
cam Make the da(4) driver notify GEOM about LUN size change. 2012-07-07 22:19:51 +00:00
cddl r237748 continuation: fix nopw (0f 1f) behavior with respect to modifiers 2012-07-06 14:45:30 +00:00
compat Extend the KPI to lock and unlock f_offset member of struct file. It 2012-07-02 21:01:03 +00:00
conf Create a generic way to support multiple boards within an 2012-07-07 05:02:39 +00:00
contrib MFV: r237650 2012-06-27 16:15:13 +00:00
crypto
ddb
dev Make it possible to resize md(4) devices. 2012-07-07 20:32:21 +00:00
fs Fix a typo 2012-07-03 08:03:07 +00:00
gdb
geom Add trivial resize handling to gnop(8). 2012-07-07 22:22:13 +00:00
gnu/fs
i386 Fix XEN build, broken in r237924. 2012-07-02 14:03:19 +00:00
ia64 Implement ia64_physmem_alloc() and use it consistently to get memory 2012-07-07 05:17:43 +00:00
isa
kern Unbreak handling of descriptors opened with O_EXEC by fexecve(2). 2012-07-08 00:51:38 +00:00
kgssapi
libkern
mips octeon_uart_class was removed some time ago everywhere but here. 2012-06-28 06:49:04 +00:00
modules Add a source file needed for module linking. 2012-07-06 20:14:27 +00:00
net Implement SIOCGIFMEDIA for if_tap(4) 2012-07-06 23:17:30 +00:00
net80211 Add a check for dynamic OFDM/CCK channel types. 2012-07-01 04:25:49 +00:00
netatalk
netgraph Make radix lookup on src and dst flow addresses optional 2012-06-18 13:56:36 +00:00
netinet Use consistent method to determine IPV4_OUTPUT/IPV6_OUTPUT. 2012-07-04 20:59:30 +00:00
netinet6 When ip_output()/ip6_output() is supplied a struct route *ro argument, 2012-07-04 07:37:53 +00:00
netipsec
netipx
netnatm
netncp
netsmb
nfs
nfsclient
nfsserver
nlm
ofed Fix clang warning when compiling iw_cxgb. 2012-06-25 16:52:27 +00:00
opencrypto
pc98 Implement mechanism to export some kernel timekeeping data to 2012-06-22 07:06:40 +00:00
pci
powerpc Replace all uses of the vm page queues lock by a r/w lock that is private 2012-07-06 02:18:49 +00:00
rpc
security
sparc64 Switch back to the 4BSD scheduler for now. There is some more or less 2012-06-30 14:55:36 +00:00
sys Unbreak handling of descriptors opened with O_EXEC by fexecve(2). 2012-07-08 00:51:38 +00:00
teken
tools
ufs Extend the KPI to lock and unlock f_offset member of struct file. It 2012-07-02 21:01:03 +00:00
vm Drop page queues mutex on each iteration of vm_pageout_scan over the 2012-07-07 19:39:08 +00:00
x86 Make the wchar_t type machine dependent. 2012-06-24 04:15:58 +00:00
xdr
xen
Makefile