freebsd-dev/share/man/man4
Dmitry Chagin 77d3337c9f Implement proper Linux /dev/fd and /proc/self/fd behavior by adding
Linux specific things to the native fdescfs file system.

Unlike FreeBSD, the Linux fdescfs is a directory containing a symbolic
links to the actual files, which the process has open.
A readlink(2) call on this file returns a full path in case of regular file
or a string in a special format (type:[inode], anon_inode:<file-type>, etc..).
As well as in a FreeBSD, opening the file in the Linux fdescfs directory is
equivalent to duplicating the corresponding file descriptor.

Here we have mutually exclusive requirements:
- in case of readlink(2) call fdescfs lookup() method should return VLNK
vnode otherwise our kern_readlink() fail with EINVAL error;
- in the other calls fdescfs lookup() method should return non VLNK vnode.

For what new vnode v_flag VV_READLINK was added, which is set if fdescfs has beed
mounted with linrdlnk option an modified kern_readlinkat() to properly handle it.

For now For Linux ABI compatibility mount fdescfs volume with linrdlnk option:

    mount -t fdescfs -o linrdlnk null /compat/linux/dev/fd

Reviewed by:	kib@
MFC after:	1 week
Relnotes:	yes
2017-08-01 03:40:19 +00:00
..
man4.arm
man4.i386 Remove SVR4 (System V Release 4) binary compatibility support. 2017-02-28 05:14:42 +00:00
man4.powerpc Update dtsec man page with correct config requirements. 2017-03-17 03:14:15 +00:00
man4.sparc64
aac.4
aacraid.4
acpi_asus_wmi.4
acpi_asus.4
acpi_dock.4
acpi_fujitsu.4
acpi_hp.4
acpi_ibm.4
acpi_panasonic.4
acpi_rapidstart.4
acpi_sony.4
acpi_thermal.4
acpi_toshiba.4
acpi_video.4
acpi_wmi.4
acpi.4
ada.4
adm6996fc.4 [etherswitch] add manpages for etherswitch supported devices. 2017-05-06 06:01:17 +00:00
adv.4 Remove more stray EISA refernces: ahb was removed. Remove the cross 2017-02-22 20:47:25 +00:00
adw.4
ae.4
aesni.4
age.4
agp.4
aha.4 Remove ahb references as well as 1640 info in aha.4 2017-02-17 06:49:54 +00:00
ahc.4 Remove more stray EISA refernces: ahb was removed. Remove the cross 2017-02-22 20:47:25 +00:00
ahci.4
ahd.4
aibs.4
aio.4 Clarify usage of aio(4) with kqueue(2) 2017-06-23 00:40:09 +00:00
alc.4 alc: Add Killer E2500 support 2017-01-16 03:03:47 +00:00
ale.4
alpm.4
altera_atse.4
altera_avgen.4
altera_jtag_uart.4
altera_sdcard.4
altq.4 Most wireless drivers don't support altq(4). 2017-04-12 01:15:33 +00:00
amdpm.4
amdsbwd.4
amdsmb.4
amdtemp.4
amr.4
an.4
aout.4
apic.4 Remove pc98 support completely. 2017-01-28 02:22:15 +00:00
arcmsr.4 Update arcmsr(4) to 1.40.00.00 in order to add support of 2017-07-14 14:53:13 +00:00
armv8crypto.4 Fix various mdoc issues reported by mandoc -Tlint. 2016-11-23 18:45:15 +00:00
asmc.4
ata.4
ath_ahb.4
ath_hal.4
ath_pci.4
ath.4
atkbd.4
atkbdc.4
atp.4
atrtc.4
attimer.4
audit.4
auditpipe.4
aue.4
axe.4
axge.4
bce.4
bcma.4
bfe.4
bge.4
bhnd.4 Fix various mdoc issues reported by mandoc -Tlint. 2016-11-23 18:45:15 +00:00
bhndb.4 Fix various mdoc issues reported by mandoc -Tlint. 2016-11-23 18:45:15 +00:00
bhyve.4
bktr.4
blackhole.4
bnxt.4 Correct "first appeared in" entries for various drivers that 2017-05-09 20:39:57 +00:00
bpf.4
bridge.4
bt.4 Remove EISA support from Buslogic (bt) cards. Remove known models form 2017-02-16 21:57:25 +00:00
bwi.4
bwn.4
bxe.4
bytgpio.4 Correct "first appeared in" entries for various drivers that 2017-05-09 20:39:57 +00:00
capsicum.4 Allow cpuset_{get,set}affinity in capabilities mode 2017-05-24 00:58:30 +00:00
cardbus.4
carp.4
cas.4
cc_cdg.4
cc_chd.4
cc_cubic.4
cc_dctcp.4
cc_hd.4
cc_htcp.4
cc_newreno.4
cc_vegas.4
ccd.4
ccr.4 Add a driver for the Chelsio T6 crypto accelerator engine. 2017-05-17 22:13:07 +00:00
cd.4
cdce.4
cfi.4
cfiscsi.4 Random tweaks to cfiscsi(4) man page. 2017-05-28 16:53:21 +00:00
cfumass.4 Add missing section when referencing ctl(4) via .Xr macro 2017-03-02 06:03:21 +00:00
ch.4
chromebook_platform.4 Fix various mdoc issues reported by mandoc -Tlint. 2016-11-23 18:45:15 +00:00
ciss.4
cloudabi.4
cm.4
cmx.4
coretemp.4
cpuctl.4 Pet manlint. 2017-03-20 04:41:36 +00:00
cpufreq.4
crypto.4
ctl.4 Split iscsi(4) ctl frontend off of ctl(4) as cfiscsi(4) 2017-03-30 04:56:27 +00:00
cue.4
cxgb.4
cxgbe.4 Add a driver for the Chelsio T6 crypto accelerator engine. 2017-05-17 22:13:07 +00:00
cxgbev.4 Correct "first appeared in" entries for various drivers that 2017-05-09 20:39:57 +00:00
cy.4 Revert r317446 and bring back cy(4). 2017-04-27 16:14:32 +00:00
cyapa.4
da.4 kern.cam.da.X.delete_method: add -width to .Bl macro call 2017-03-02 06:02:17 +00:00
dc.4
dcons_crom.4
dcons.4
ddb.4 Clean up ddb(4) slightly 2017-03-03 18:44:20 +00:00
de.4
devctl.4
disc.4
divert.4
dpms.4
dpt.4 Remove EISA support from dpt. Remove known EISA models from 2017-02-16 21:57:13 +00:00
ds1307.4
ds3231.4
dtrace_io.4
dtrace_ip.4
dtrace_lockstat.4 Fix a few issues with the lockstat provider man page. 2017-07-03 23:54:39 +00:00
dtrace_proc.4
dtrace_sched.4
dtrace_tcp.4
dtrace_udp.4
dummynet.4
e6060sw.4 [etherswitch] add manpages for etherswitch supported devices. 2017-05-06 06:01:17 +00:00
ed.4 Remove more pc98 support. 2017-01-28 09:58:00 +00:00
edsc.4
ehci.4 "Buses" is the preferred plural of "bus" 2017-01-15 17:54:01 +00:00
em.4 Merge documentation for em(4) and igb(4) 2017-03-22 21:32:44 +00:00
ena.4 Add support for Amazon Elastic Network Adapter (ENA) NIC 2017-05-22 14:46:13 +00:00
enc.4
epair.4
esp.4 Remove pc98 support completely. 2017-01-28 02:22:15 +00:00
est.4
et.4
etherswitch.4 [etherswitch] add manpages for etherswitch supported devices. 2017-05-06 06:01:17 +00:00
eventtimers.4
exca.4
fd.4
fdc.4 Remove the last vestiges of FDC_DEBUG & FD_DEBUG 2017-04-07 16:14:25 +00:00
fdt.4
fdtbus.4
ffclock.4
filemon.4
firewire.4
fpa.4 Remove EISA attachment (fea) from pdq driver. Remove vestiges of 2017-02-16 21:57:08 +00:00
full.4
fwe.4
fwip.4
fwohci.4
fxp.4 Remove pc98 support completely. 2017-01-28 02:22:15 +00:00
gbde.4
gdb.4
gem.4
geom_fox.4
geom_linux_lvm.4
geom_map.4
geom_uzip.4
geom.4 Mention GEOM_MOUNTVER. 2017-04-20 20:06:51 +00:00
gif.4
gpio.4
gpioiic.4
gpioled.4
gre.4
h_ertt.4
hifn.4
hme.4
hpet.4
hpt27xx.4
hptiop.4
hptmv.4
hptnr.4
hptrr.4
hv_kvp.4
hv_netvsc.4
hv_storvsc.4
hv_utils.4
hv_vmbus.4 remove the hv_ata_pci_disengage(4) manual 2016-11-18 07:36:00 +00:00
hv_vss.4 Fix various mdoc issues reported by mandoc -Tlint. 2016-11-23 18:45:15 +00:00
hwpmc.4
ichsmb.4
ichwd.4
icmp6.4
icmp.4
ida.4 Remove support for EISA in the ida driver. Remove references to 2017-02-16 21:56:57 +00:00
if_ipsec.4 Merge projects/ipsec into head/. 2017-02-06 08:49:57 +00:00
if_ntb.4
ifmib.4
ig4.4
igmp.4
iic.4 Fix man page: 2016-12-02 11:32:11 +00:00
iicbb.4
iicbus.4 "Buses" is the preferred plural of "bus" 2017-01-15 17:54:01 +00:00
iicsmb.4
iir.4
inet6.4
inet.4
intpm.4
intro.4
io.4
ioat.4
ip6.4 The patch provides the same socket option as Linux IP_ORIGDSTADDR. 2017-03-06 04:01:58 +00:00
ip.4 The patch provides the same socket option as Linux IP_ORIGDSTADDR. 2017-03-06 04:01:58 +00:00
ipfirewall.4
ipheth.4
ipmi.4
ips.4
ipsec.4 Merge projects/ipsec into head/. 2017-02-06 08:49:57 +00:00
ipw.4
ipwfw.4
isci.4
iscsi_initiator.4
iscsi.4 Minor tweaks to iscsi(4) and iscsid(8). 2017-05-28 17:02:29 +00:00
iser.4
isl.4
ismt.4
isp.4 Switch fabric scans from GID_FT to GID_PT+GFF_ID/GFT_ID. 2017-07-03 15:56:45 +00:00
ispfw.4
iwi.4
iwifw.4
iwm.4
iwmfw.4 add 7265D firmware mention in the iwmfw manpage. 2017-02-22 04:51:37 +00:00
iwn.4
iwnfw.4
ixgb.4
ixgbe.4
ixl.4
ixlv.4
jedec_ts.4 Correct "first appeared in" entries for various drivers that 2017-05-09 20:39:57 +00:00
jme.4
joy.4
kbdmux.4
keyboard.4
kld.4
ksyms.4
ksz8995ma.4 [etherswitch] add manpages for etherswitch supported devices. 2017-05-06 06:01:17 +00:00
ktr.4
kue.4
lagg.4
le.4 Remove references to C-Bus support in the le(4) driver. Support for 2017-02-16 21:56:41 +00:00
led.4
lge.4
linux.4 Implement proper Linux /dev/fd and /proc/self/fd behavior by adding 2017-08-01 03:40:19 +00:00
lm75.4
lmc.4
lo.4 Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
lp.4
lpbb.4
lpt.4
mac_biba.4
mac_bsdextended.4
mac_ifoff.4
mac_lomac.4
mac_mls.4
mac_none.4
mac_partition.4
mac_portacl.4
mac_seeotheruids.4
mac_stub.4
mac_test.4
mac.4
Makefile Connect ena(4) to the build. 2017-07-07 16:22:09 +00:00
Makefile.depend
malo.4
md.4
mdio.4
me.4
mem.4
meteor.4
mfi.4
miibus.4
mk48txx.4
mld.4
mlx4en.4 Wordsmith mlx4{en,ib}(4) 2017-03-02 06:57:13 +00:00
mlx4ib.4 Wordsmith mlx4{en,ib}(4) 2017-03-02 06:57:13 +00:00
mlx5en.4
mlx.4 Remove references to EISA support in mlx. The driver never supported 2017-02-16 21:56:32 +00:00
mly.4
mmc.4
mmcsd.4 Don't end up manpage titles with a full stop. 2017-05-24 21:02:53 +00:00
mn.4
mod_cc.4
mos.4
mouse.4
mpr.4 Fix several problems with mapping code. 2017-05-25 19:20:06 +00:00
mps.4 Fix several problems with mapping code. 2017-05-25 19:14:44 +00:00
mpt.4
mrsas.4
msk.4
mtio.4
multicast.4
mvs.4
mwl.4
mwlfw.4
mxge.4
my.4
nand.4
nandsim.4
ncr.4 Remove pc98 support completely. 2017-01-28 02:22:15 +00:00
ncv.4 Remove pc98 support completely. 2017-01-28 02:22:15 +00:00
ndis.4
net80211.4
netfpga10g_nf10bmac.4
netgraph.4
netintro.4
netmap.4 Clean up netmap(4) slightly 2017-03-03 06:18:47 +00:00
nfe.4
nfsmb.4
ng_async.4
ng_atmllc.4
ng_bluetooth.4
ng_bpf.4
ng_bridge.4
ng_bt3c.4
ng_btsocket.4
ng_car.4
ng_ccatm.4
ng_checksum.4 A little light wordsmithing only. 2016-12-02 09:51:12 +00:00
ng_cisco.4
ng_deflate.4
ng_device.4
ng_echo.4
ng_eiface.4
ng_etf.4
ng_ether_echo.4
ng_ether.4
ng_frame_relay.4
ng_gif_demux.4
ng_gif.4
ng_h4.4
ng_hci.4
ng_hole.4
ng_hub.4
ng_iface.4
ng_ip_input.4
ng_ipfw.4
ng_ksocket.4
ng_l2cap.4
ng_l2tp.4
ng_lmi.4
ng_mppc.4 Fix various mdoc issues reported by mandoc -Tlint. 2016-11-23 18:45:15 +00:00
ng_nat.4
ng_netflow.4
ng_one2many.4
ng_patch.4 Changes to allow the patching of packets with an offset (and other changes.. see man page) 2016-12-02 10:47:10 +00:00
ng_ppp.4
ng_pppoe.4
ng_pptpgre.4
ng_pred1.4
ng_rfc1490.4
ng_socket.4
ng_source.4
ng_split.4
ng_sppp.4
ng_sscfu.4
ng_sscop.4
ng_tag.4
ng_tcpmss.4
ng_tee.4
ng_tty.4
ng_ubt.4
ng_UI.4
ng_uni.4
ng_vjc.4
ng_vlan.4
ngatmbase.4
nge.4
nmdm.4
nsp.4
ntb_hw.4 Fix various mdoc issues reported by mandoc -Tlint. 2016-11-23 18:45:15 +00:00
ntb_transport.4
null.4
numa.4
nvd.4
nvme.4 Slight rewording in nvme(4) 2017-03-09 05:30:05 +00:00
nvram2env.4
nvram.4
nxge.4
oce.4
ohci.4
orm.4
otus.4
otusfw.4
ow_temp.4
ow.4
owc.4
padlock.4
pass.4 Fix error recovery behavior in the pass(4) driver. 2017-05-03 20:59:47 +00:00
pccard.4
pccbb.4
pcf.4
pci.4
pcib.4
pcic.4
pcm.4
pcn.4
pf.4
pflog.4
pfsync.4
pim.4
pms.4
polling.4
ppbus.4
ppc.4
ppi.4
procdesc.4
proto.4
psm.4
pst.4
pt.4
pts.4
pty.4
puc.4
qlnxe.4 Correct "first appeared in" entries for various drivers that 2017-05-09 20:39:57 +00:00
qlxgb.4
qlxgbe.4 Update man page for commit r316309 "Add support for optional Soft LRO". 2017-03-30 23:49:57 +00:00
qlxge.4
ral.4 Correct the grammar mistakes introduced by me in the previous commit. 2017-04-04 17:18:45 +00:00
random.4
rc.4
rccgpio.4
rctl.4 Declutter rctl(8) by moving kernel build instructions into newly 2017-05-28 17:25:47 +00:00
re.4
rgephy.4
rights.4 Typo. 2017-03-27 17:24:40 +00:00
rl.4
rndtest.4
route.4
rp.4
rsu.4 rsu(4): refresh the manpage. 2016-12-10 19:14:51 +00:00
rsufw.4
rtwn_pci.4 Fix various mdoc issues reported by mandoc -Tlint. 2016-11-23 18:45:15 +00:00
rtwn_usb.4 Add support for the Realtek RTL8192EU chipset. 2017-01-24 02:35:38 +00:00
rtwn.4 rtwn(4): refresh manpage 2017-07-31 00:03:42 +00:00
rtwnfw.4 Add support for the Realtek RTL8192EU chipset. 2017-01-24 02:35:38 +00:00
rue.4
rum.4
run.4
runfw.4
sa.4 Add basic programmable early warning error injection to the sa(4) driver. 2017-05-05 20:00:53 +00:00
safe.4
sbp_targ.4
sbp.4
scc.4
sched_4bsd.4
sched_ule.4
screen.4
scsi.4 Sort .Xr: ahci(4) comes before ahd(4) 2017-03-02 06:22:05 +00:00
sctp.4
sdhci.4
sem.4
send.4
ses.4
sf.4
sfxge.4 sfxge(4): add sysctl to change MAC stats update period 2017-01-12 15:26:23 +00:00
sge.4
siba.4
siftr.4
siis.4
simplebus.4
sio.4
sis.4
sk.4
smb.4 update SMB_BWRITE documentation, clarify SMB_BREAD 2016-11-11 15:16:37 +00:00
smbus.4
smp.4
smsc.4
sn.4
snd_ad1816.4
snd_als4000.4
snd_atiixp.4
snd_cmi.4
snd_cs4281.4
snd_csa.4
snd_ds1.4
snd_emu10k1.4
snd_emu10kx.4
snd_envy24.4
snd_envy24ht.4
snd_es137x.4
snd_ess.4
snd_fm801.4
snd_gusc.4
snd_hda.4
snd_hdspe.4
snd_ich.4
snd_maestro3.4
snd_maestro.4
snd_mss.4
snd_neomagic.4
snd_sbc.4
snd_solo.4
snd_spicds.4
snd_t4dwave.4
snd_uaudio.4 Fix a broken link to the USB audio class specs. 2016-11-12 19:45:55 +00:00
snd_via82c686.4
snd_via8233.4
snd_vibes.4
snp.4
spkr.4
splash.4
sppp.4
ste.4
stf.4
stg.4
stge.4
sym.4 Remove pc98 support completely. 2017-01-28 02:22:15 +00:00
syncache.4
syncer.4
syscons.4
sysmouse.4
tap.4
targ.4
tcp.4 Merge projects/ipsec into head/. 2017-02-06 08:49:57 +00:00
tdfx.4
terasic_mtl.4
termios.4
textdump.4
ti.4
timecounters.4
tl.4
tpm.4
trm.4
tty.4 Rework tty_drain() to poll the hardware for completion, and restore 2017-01-12 00:48:06 +00:00
tun.4
twa.4
twe.4
tws.4
tx.4
txp.4
u3g.4 Fix device paths for USB serial adapters: the formatting strings 2017-05-09 08:36:09 +00:00
uark.4 Fix device paths for USB serial adapters: the formatting strings 2017-05-09 08:36:09 +00:00
uart.4 Fix mistake introduced to uart(4) man page in r317463. 2017-05-09 08:31:34 +00:00
uath.4
ubsa.4 Fix device paths for USB serial adapters: the formatting strings 2017-05-09 08:36:09 +00:00
ubsec.4
ubser.4 Fix device paths for USB serial adapters: the formatting strings 2017-05-09 08:36:09 +00:00
ubtbcmfw.4
uchcom.4 Fix device paths for USB serial adapters: the formatting strings 2017-05-09 08:36:09 +00:00
ucom.4 Fix device paths for USB serial adapters: the formatting strings 2017-05-09 08:36:09 +00:00
ucycom.4 Fix device paths for USB serial adapters: the formatting strings 2017-05-09 08:36:09 +00:00
udav.4
udbp.4
udl.4
udp.4 Merge projects/ipsec into head/. 2017-02-06 08:49:57 +00:00
udplite.4
uep.4
ufm.4
ufoma.4
uftdi.4 Fix device paths for USB serial adapters: the formatting strings 2017-05-09 08:36:09 +00:00
ugen.4
ugold.4
uhci.4
uhid.4
uhso.4
uipaq.4 Fix device paths for USB serial adapters: the formatting strings 2017-05-09 08:36:09 +00:00
ukbd.4
uled.4 Add support for ThingM blink(1) notification LED to uled(4). 2017-03-31 08:20:59 +00:00
ulpt.4
umass.4 Add USB Mass Storage CTL frontend. This makes it possible 2017-02-19 17:47:43 +00:00
umcs.4 Fix device paths for USB serial adapters: the formatting strings 2017-05-09 08:36:09 +00:00
umct.4 Fix device paths for USB serial adapters: the formatting strings 2017-05-09 08:36:09 +00:00
umodem.4 Fix device paths for USB serial adapters: the formatting strings 2017-05-09 08:36:09 +00:00
umoscom.4 Fix device paths for USB serial adapters: the formatting strings 2017-05-09 08:36:09 +00:00
ums.4
unix.4 Clean up documentation of AF_UNIX control messages. 2017-02-03 20:33:23 +00:00
upgt.4
uplcom.4 Fix device paths for USB serial adapters: the formatting strings 2017-05-09 08:36:09 +00:00
ural.4
ure.4
urio.4
urndis.4
urtw.4
usb_quirk.4 Add USB audio support for S/PDIF output with C-Media CM6206 devices. 2017-01-17 08:15:10 +00:00
usb_template.4 Add USB Mass Storage CTL frontend. This makes it possible 2017-02-19 17:47:43 +00:00
usb.4 usb(4): manpage cleanup 2017-04-29 16:44:36 +00:00
usfs.4 Add USB Mass Storage CTL frontend. This makes it possible 2017-02-19 17:47:43 +00:00
uslcom.4 Fix device paths for USB serial adapters: the formatting strings 2017-05-09 08:36:09 +00:00
uvisor.4 Fix device paths for USB serial adapters: the formatting strings 2017-05-09 08:36:09 +00:00
uvscom.4 Fix device paths for USB serial adapters: the formatting strings 2017-05-09 08:36:09 +00:00
vale.4
vga.4
vge.4
viapm.4
viawd.4
virtio_balloon.4
virtio_blk.4
virtio_console.4
virtio_random.4
virtio_scsi.4
virtio.4
vkbd.4
vlan.4
vmx.4
vpo.4
vr.4
vt.4 Use more canonical .Dt for vt(4). 2017-07-05 10:43:27 +00:00
vte.4
vtnet.4
vxge.4
vxlan.4
watchdog.4
wb.4
wbwd.4
wi.4
witness.4
wlan_acl.4
wlan_amrr.4
wlan_ccmp.4
wlan_tkip.4
wlan_wep.4
wlan_xauth.4
wlan.4
wpi.4 Add missing section to .Xr macro calls for wpifw(4) 2017-03-02 06:25:50 +00:00
wsp.4
xdma.4 Add xDMA -- the DMA abstraction layer, initial verison. 2016-12-20 18:02:07 +00:00
xe.4
xen.4
xhci.4
xl.4
xnb.4
xpt.4
zero.4
zyd.4