linux-stable/include/uapi/linux
Linus Torvalds ee5daa1361 Merge branch 'work.poll2' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
Pull more poll annotation updates from Al Viro:
 "This is preparation to solving the problems you've mentioned in the
  original poll series.

  After this series, the kernel is ready for running

      for V in IN OUT PRI ERR RDNORM RDBAND WRNORM WRBAND HUP RDHUP NVAL MSG; do
            L=`git grep -l -w POLL$V | grep -v '^t' | grep -v /um/ | grep -v '^sa' | grep -v '/poll.h$'|grep -v '^D'`
            for f in $L; do sed -i "-es/^\([^\"]*\)\(\<POLL$V\>\)/\\1E\\2/" $f; done
      done

  as a for bulk search-and-replace.

  After that, the kernel is ready to apply the patch to unify
  {de,}mangle_poll(), and then get rid of kernel-side POLL... uses
  entirely, and we should be all done with that stuff.

  Basically, that's what you suggested wrt KPOLL..., except that we can
  use EPOLL... instead - they already are arch-independent (and equal to
  what is currently kernel-side POLL...).

  After the preparations (in this series) switch to returning EPOLL...
  from ->poll() instances is completely mechanical and kernel-side
  POLL... can go away. The last step (killing kernel-side POLL... and
  unifying {de,}mangle_poll() has to be done after the
  search-and-replace job, since we need userland-side POLL... for
  unified {de,}mangle_poll(), thus the cherry-pick at the last step.

  After that we will have:

   - POLL{IN,OUT,...} *not* in __poll_t, so any stray instances of
     ->poll() still using those will be caught by sparse.

   - eventpoll.c and select.c warning-free wrt __poll_t

   - no more kernel-side definitions of POLL... - userland ones are
     visible through the entire kernel (and used pretty much only for
     mangle/demangle)

   - same behavior as after the first series (i.e. sparc et.al. epoll(2)
     working correctly)"

* 'work.poll2' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs:
  annotate ep_scan_ready_list()
  ep_send_events_proc(): return result via esed->res
  preparation to switching ->poll() to returning EPOLL...
  add EPOLLNVAL, annotate EPOLL... and event_poll->event
  use linux/poll.h instead of asm/poll.h
  xen: fix poll misannotation
  smc: missing poll annotations
2018-02-11 13:57:19 -08:00
..
android
byteorder
caif
can can: dev: Add support for limiting configured bitrate 2018-01-16 15:11:32 +01:00
cifs
dvb media: replace all <spaces><tab> occurrences 2018-01-04 13:15:05 -05:00
genwqe
hdlc
hsi
iio
isdn
mmc
netfilter netfilter: nf_tables: allocate handle and delete objects via handle 2018-01-19 14:00:46 +01:00
netfilter_arp
netfilter_bridge
netfilter_ipv4
netfilter_ipv6 netfilter: add IPv6 segment routing header 'srh' match 2018-01-10 16:28:44 +01:00
nfsd
raid
sched
spi
sunrpc
tc_act
tc_ematch
usb USB: clarify USB_DT_USB_SSP_CAP_SIZE(ssac) definition 2018-01-09 16:15:20 +01:00
wimax
Kbuild
a.out.h
acct.h
adb.h
adfs_fs.h
affs_hardblocks.h
agpgart.h
aio_abi.h
am437x-vpfe.h
apm_bios.h
arcfb.h
arm_sdei.h firmware: arm_sdei: Add driver for Software Delegated Exceptions 2018-01-13 10:44:56 +00:00
aspeed-lpc-ctrl.h
atalk.h
atm.h
atm_eni.h
atm_he.h
atm_idt77105.h
atm_nicstar.h
atm_tcp.h
atm_zatm.h
atmapi.h
atmarp.h
atmbr2684.h
atmclip.h
atmdev.h
atmioc.h
atmlec.h
atmmpc.h
atmppp.h
atmsap.h
atmsvc.h
audit.h
auto_dev-ioctl.h
auto_fs.h
auto_fs4.h
auxvec.h
ax25.h
b1lli.h
batadv_packet.h batman-adv: Convert packet.h to uapi header 2017-12-21 15:35:53 -05:00
batman_adv.h batman-adv: Change batman_adv.h license to MIT 2017-12-15 17:24:09 +01:00
baycom.h
bcache.h bcache: Fix building error on MIPS 2017-11-24 16:22:58 -07:00
bcm933xx_hcs.h
bfs_fs.h Rename superblock flags (MS_xyz -> SB_xyz) 2017-11-27 13:05:09 -08:00
binfmts.h
blkpg.h
blktrace_api.h
blkzoned.h
bpf.h bpf: Add BPF_SOCK_OPS_STATE_CB 2018-01-25 16:41:15 -08:00
bpf_common.h bpf: add comments to BPF ld/ldx sizes 2018-01-18 22:12:38 +01:00
bpf_perf_event.h bpf: correct broken uapi for BPF_PROG_TYPE_PERF_EVENT program type 2017-12-05 15:02:40 +01:00
bpqether.h
bsg.h
bt-bmc.h
btrfs.h btrfs: put btrfs_ioctl_vol_args_v2 related defines together 2018-01-22 16:08:16 +01:00
btrfs_tree.h btrfs: add support for SUPER_FLAG_CHANGING_FSID 2018-01-22 16:08:21 +01:00
can.h
capability.h
capi.h
cciss_defs.h
cciss_ioctl.h
cdrom.h
cec-funcs.h
cec.h
cgroupstats.h
chio.h
cm4000_cs.h
cn_proc.h
coda.h
coda_psdev.h
coff.h
connector.h
const.h
coresight-stm.h
cramfs_fs.h Merge branch 'work.cramfs' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs 2017-11-17 13:20:41 -08:00
cryptouser.h
cuda.h
cyclades.h
cycx_cfm.h
dcbnl.h
dccp.h
devlink.h devlink: Add relation between dpipe and resource 2018-01-16 14:15:34 -05:00
dlm.h
dlm_device.h
dlm_netlink.h
dlm_plock.h
dlmconstants.h
dm-ioctl.h
dm-log-userspace.h
dma-buf.h
dn.h
dqblk_xfs.h
edd.h
efs_fs_sb.h
elf-em.h
elf-fdpic.h
elf.h powerpc/ptrace: Add memory protection key regset 2018-01-20 22:59:06 +11:00
elfcore.h
errno.h
errqueue.h
erspan.h net: erspan: create erspan metadata uapi header 2018-01-25 21:39:43 -05:00
ethtool.h net: ethtool: add support for reset of AP inside NIC interface. 2017-12-01 15:29:40 -05:00
eventpoll.h add EPOLLNVAL, annotate EPOLL... and event_poll->event 2018-02-01 16:28:55 -05:00
fadvise.h
falloc.h
fanotify.h
fb.h
fcntl.h
fd.h
fdreg.h
fib_rules.h
fiemap.h
filter.h
firewire-cdev.h
firewire-constants.h
flat.h
fou.h
fs.h fs: add RWF_APPEND 2018-01-25 19:32:55 -05:00
fsl_hypervisor.h
fsmap.h
fuse.h
futex.h
gameport.h
gen_stats.h
genetlink.h
gfs2_ondisk.h GFS2: Log the reason for log flushes in every log header 2018-01-23 07:39:20 -07:00
gigaset_dev.h
gpio.h
gsmmux.h
gtp.h
hash_info.h
hdlc.h
hdlcdrv.h
hdreg.h
hid.h
hiddev.h
hidraw.h
hpet.h
hsr_netlink.h
hw_breakpoint.h
hyperv.h
hysdn_if.h
i2c-dev.h
i2c.h i2c: add a message flag for DMA safe buffers 2017-12-03 20:47:33 +01:00
i2o-dev.h
i8k.h
icmp.h
icmpv6.h
if.h
if_addr.h
if_addrlabel.h
if_alg.h
if_arcnet.h
if_arp.h
if_bonding.h
if_bridge.h
if_cablemodem.h
if_eql.h
if_ether.h Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2018-01-09 10:37:00 -05:00
if_fc.h
if_fddi.h
if_frad.h
if_hippi.h
if_infiniband.h
if_link.h dev: advertise the new ifindex when the netns iface changes 2018-01-29 12:23:52 -05:00
if_ltalk.h
if_macsec.h macsec: restore uAPI after addition of GCM-AES-256 2018-01-22 15:40:16 -05:00
if_packet.h
if_phonet.h
if_plip.h
if_ppp.h
if_pppol2tp.h
if_pppox.h
if_slip.h
if_team.h
if_tun.h tun: allow to attach ebpf socket filter 2018-01-17 15:32:10 -05:00
if_tunnel.h net: erspan: introduce erspan v2 for ip_gre 2017-12-15 12:34:00 -05:00
if_vlan.h
if_x25.h
ife.h
igmp.h
ila.h
in.h
in6.h
in_route.h
inet_diag.h inet_diag: Add equal-operator for ports 2018-01-02 13:54:04 -05:00
inotify.h
input-event-codes.h Input: add KEY_ROTATE_LOCK_TOGGLE 2017-12-08 13:54:43 -08:00
input.h Input: extend usable life of event timestamps to 2106 on 32 bit systems 2018-01-09 16:40:30 -08:00
ioctl.h
ip.h
ip6_tunnel.h
ip_vs.h
ipc.h
ipmi.h
ipmi_msgdefs.h
ipsec.h
ipv6.h
ipv6_route.h
ipx.h
irda.h
irqnr.h
isdn.h
isdn_divertif.h
isdn_ppp.h
isdnif.h
iso_fs.h
ivtv.h
ivtvfb.h
ixjuser.h
jffs2.h
joystick.h
kcm.h
kcmp.h
kcov.h kcov: support comparison operands collection 2017-11-17 16:10:04 -08:00
kd.h
kdev_t.h
kernel-page-flags.h
kernel.h
kernelcapi.h
kexec.h
keyboard.h
keyctl.h
kfd_ioctl.h uapi: fix linux/kfd_ioctl.h userspace compilation errors 2017-11-26 11:31:32 +02:00
kvm.h Merge branch 'x86/hyperv' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2018-02-01 15:04:17 +01:00
kvm_para.h
l2tp.h l2tp: mark L2TP_ATTR_L2SPEC_LEN as not used 2018-01-19 15:00:49 -05:00
libc-compat.h uapi/if_ether.h: prevent redefinition of struct ethhdr 2018-01-04 14:30:52 -05:00
lightnvm.h lightnvm: set target over-provision on create ioctl 2018-01-05 08:50:12 -07:00
limits.h
lirc.h media: lirc: implement scancode sending 2017-12-14 10:35:15 -05:00
llc.h
loop.h
lp.h lp: support 64-bit time_t user space 2017-11-28 16:54:00 +01:00
lwtunnel.h
magic.h
major.h
map_to_7segment.h
matroxfb.h
max2175.h
mdio.h
media-bus-format.h
media.h
mei.h
membarrier.h membarrier: Provide core serializing command, *_SYNC_CORE 2018-02-05 21:35:03 +01:00
memfd.h
mempolicy.h
meye.h
mic_common.h
mic_ioctl.h
mii.h
minix_fs.h
mman.h
mmtimer.h
module.h
mpls.h
mpls_iptunnel.h
mqueue.h
mroute.h
mroute6.h
msdos_fs.h
msg.h
mtio.h
n_r3964.h
nbd-netlink.h
nbd.h
ncp.h
ncp_fs.h
ncp_mount.h
ncp_no.h
ndctl.h libnvdimm, namespace: make min namespace size 4K 2018-02-01 21:27:22 -08:00
neighbour.h
net.h
net_dropmon.h
net_namespace.h
net_tstamp.h
netconf.h
netdevice.h
netfilter.h
netfilter_arp.h netfilter: add defines for arp/decnet max hooks 2018-01-08 18:01:08 +01:00
netfilter_bridge.h
netfilter_decnet.h netfilter: add defines for arp/decnet max hooks 2018-01-08 18:01:08 +01:00
netfilter_ipv4.h netfilter: nf_defrag: Skip defrag if NOTRACK is set 2018-01-11 13:14:20 +01:00
netfilter_ipv6.h netfilter: nf_defrag: Skip defrag if NOTRACK is set 2018-01-11 13:14:20 +01:00
netlink.h
netlink_diag.h
netrom.h
nfc.h
nfs.h nfs: Define NFS_RDMA_PORT 2018-01-14 23:06:30 -05:00
nfs2.h
nfs3.h
nfs4.h
nfs4_mount.h
nfs_fs.h
nfs_idmap.h
nfs_mount.h
nfsacl.h
nilfs2_api.h
nilfs2_ondisk.h
nl80211.h cfg80211: Scan results to also report the per chain signal strength 2017-12-19 10:37:31 +01:00
nsfs.h
nubus.h nubus: Fix up header split 2018-01-16 16:47:29 +01:00
nvme_ioctl.h
nvram.h
omap3isp.h
omapfb.h
oom.h
openvswitch.h openvswitch: add erspan version I and II support 2018-01-25 21:39:43 -05:00
packet_diag.h
param.h
parport.h
patchkey.h
pci.h
pci_regs.h Merge branch 'pci/misc' into next 2018-01-31 10:10:32 -06:00
pcitest.h
perf_event.h Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2018-01-31 14:31:10 -08:00
personality.h
pfkeyv2.h
pg.h
phantom.h
phonet.h
pkt_cls.h
pkt_sched.h pkt_sched: Remove TC_RED_OFFLOADED from uapi 2017-12-15 13:35:37 -05:00
pktcdvd.h
pmu.h
poll.h
posix_acl.h
posix_acl_xattr.h
posix_types.h
ppdev.h
ppp-comp.h
ppp-ioctl.h
ppp_defs.h
pps.h
pr.h
prctl.h
psample.h
psci.h arm/arm64: KVM: Add PSCI_VERSION helper 2018-02-06 22:53:56 +00:00
psp-sev.h crypto: ccp: Define SEV userspace ioctl and command id 2017-12-04 10:57:27 -06:00
ptp_clock.h
ptrace.h ptrace, seccomp: add support for retrieving seccomp metadata 2017-11-28 15:41:01 -08:00
qnx4_fs.h
qnxtypes.h
qrtr.h
quota.h
radeonfb.h
random.h
raw.h
rds.h
reboot.h
reiserfs_fs.h
reiserfs_xattr.h
resource.h
rfkill.h
rio_cm_cdev.h
rio_mport_cdev.h
romfs_fs.h
rose.h
route.h
rpmsg.h
rtc.h
rtnetlink.h net: sched: introduce ingress/egress block index attributes for qdisc 2018-01-17 14:53:57 -05:00
rxrpc.h rxrpc: Fix call timeouts 2017-11-24 10:18:41 +00:00
scc.h
sched.h sched/deadline: Implement "runtime overrun signal" support 2018-01-10 11:30:31 +01:00
scif_ioctl.h
screen_info.h
sctp.h sctp: implement abort_pd for sctp_stream_interleave 2017-12-11 11:23:05 -05:00
sdla.h
seccomp.h
securebits.h
sed-opal.h
seg6.h
seg6_genl.h
seg6_hmac.h
seg6_iptunnel.h
seg6_local.h
selinux_netlink.h
sem.h
serial.h
serial_core.h
serial_reg.h
serio.h
shm.h
signal.h
signalfd.h
smc.h
smc_diag.h
smiapp.h
snmp.h
sock_diag.h
socket.h
sockios.h
sonet.h
sonypi.h
sound.h
soundcard.h
stat.h
stddef.h
stm.h
string.h
suspend_ioctls.h
swab.h
switchtec_ioctl.h switchtec: Add Global Fabric Manager Server (GFMS) event 2017-12-18 23:08:11 -06:00
sync_file.h
synclink.h
sysctl.h
sysinfo.h
target_core_user.h
taskstats.h
tcp.h
tcp_metrics.h
tee.h This pull request enables dynamic shared memory support in the TEE 2017-12-21 17:23:52 +01:00
telephony.h
termios.h
thermal.h
time.h
timerfd.h
times.h
timex.h
tiocl.h
tipc.h tipc: improve groupcast scope handling 2018-01-09 12:35:58 -05:00
tipc_config.h
tipc_netlink.h
tls.h
toshiba.h
tty.h
tty_flags.h
types.h define __poll_t, annotate constants 2017-11-27 16:19:52 -05:00
udf_fs_i.h
udp.h
uhid.h
uinput.h
uio.h
uleds.h
ultrasound.h
un.h
unistd.h
unix_diag.h
usbdevice_fs.h USB: remove the URB_NO_FSBR flag 2017-12-12 13:16:07 +01:00
usbip.h
userfaultfd.h
userio.h
utime.h
utsname.h
uuid.h uuid: cleanup <uapi/linux/uuid.h> 2018-02-06 18:32:44 -08:00
uvcvideo.h media: uvcvideo: Add a metadata device node 2018-01-04 06:41:47 -05:00
v4l2-common.h
v4l2-controls.h media: replace all <spaces><tab> occurrences 2018-01-04 13:15:05 -05:00
v4l2-dv-timings.h
v4l2-mediabus.h
v4l2-subdev.h
vbox_err.h virt: Add vboxguest driver for Virtual Box Guest integration UAPI 2017-12-18 16:12:21 +01:00
vbox_vmmdev_types.h virt: Add vboxguest driver for Virtual Box Guest integration UAPI 2017-12-18 16:12:21 +01:00
vboxguest.h virt: Add vboxguest driver for Virtual Box Guest integration UAPI 2017-12-18 16:12:21 +01:00
veth.h
vfio.h drm/graphics pull request for v4.16-rc1 2018-02-01 17:48:47 -08:00
vfio_ccw.h
vhost.h
videodev2.h media: replace all <spaces><tab> occurrences 2018-01-04 13:15:05 -05:00
virtio_9p.h
virtio_balloon.h virtio_balloon: include disk/file caches memory statistics 2018-01-31 01:47:33 +02:00
virtio_blk.h
virtio_config.h
virtio_console.h
virtio_crypto.h
virtio_gpu.h
virtio_ids.h
virtio_input.h
virtio_mmio.h
virtio_net.h virtio_net: propagate linkspeed/duplex settings from the hypervisor 2018-01-09 11:37:56 -05:00
virtio_pci.h
virtio_ring.h
virtio_rng.h
virtio_scsi.h
virtio_types.h
virtio_vsock.h
vm_sockets.h
vm_sockets_diag.h uapi: add SPDX identifier to vm_sockets_diag.h 2017-11-26 04:24:48 +09:00
vsockmon.h
vt.h
vtpm_proxy.h
wait.h
wanrouter.h
watchdog.h
wimax.h
wireless.h
wmi.h
x25.h
xattr.h
xfrm.h
xilinx-v4l2-controls.h
zorro.h
zorro_ids.h