Remove almost unused `flags' argument of suser().
authormpi <mpi@openbsd.org>
Mon, 19 Feb 2018 08:59:52 +0000 (08:59 +0000)
committermpi <mpi@openbsd.org>
Mon, 19 Feb 2018 08:59:52 +0000 (08:59 +0000)
commit3e6763994aeb80a553b07ba51b1db2c4725c5c88
tree7c22e72ae7c90d9bbd118efba70226239e57d9a6
parent7ecfbc7eec146f85e1d6e37c33d4cd70c8d351a0
Remove almost unused `flags' argument of suser().

The account flag `ASU' will no longer be set but that makes suser()
mpsafe since it no longer mess with a per-process field.

No objection from millert@, ok tedu@, bluhm@
91 files changed:
sys/arch/alpha/alpha/mem.c
sys/arch/alpha/alpha/promcons.c
sys/arch/amd64/amd64/mem.c
sys/arch/amd64/amd64/sys_machdep.c
sys/arch/arm/arm/mem.c
sys/arch/arm64/arm64/mem.c
sys/arch/arm64/dev/pluart.c
sys/arch/armv7/dev/pluart.c
sys/arch/armv7/exynos/exuart.c
sys/arch/armv7/imx/imxuart.c
sys/arch/hppa/dev/pdc.c
sys/arch/i386/i386/amdmsr.c
sys/arch/i386/i386/mem.c
sys/arch/i386/i386/sys_machdep.c
sys/arch/luna88k/dev/siotty.c
sys/arch/macppc/macppc/mem.c
sys/arch/sh/dev/scif.c
sys/arch/sh/sh/mem.c
sys/arch/socppc/socppc/mem.c
sys/arch/sparc64/dev/pcons.c
sys/arch/sparc64/dev/sab.c
sys/arch/sparc64/dev/sbbc.c
sys/arch/sparc64/dev/vcctty.c
sys/arch/sparc64/dev/vcons.c
sys/dev/acpi/acpi.c
sys/dev/cons.c
sys/dev/ic/an.c
sys/dev/ic/com.c
sys/dev/ic/cy.c
sys/dev/ic/if_wi.c
sys/dev/ic/if_wi_hostap.c
sys/dev/ic/z8530tty.c
sys/dev/pci/cz.c
sys/dev/pci/drm/drmP.h
sys/dev/pci/drm/drm_linux.h
sys/dev/pv/viocon.c
sys/dev/sbus/magma.c
sys/dev/sbus/spif.c
sys/dev/usb/if_umb.c
sys/dev/usb/ucom.c
sys/dev/usb/usb.c
sys/dev/vnd.c
sys/dev/wscons/wsdisplay.c
sys/dev/wscons/wskbd.c
sys/kern/kern_acct.c
sys/kern/kern_descrip.c
sys/kern/kern_ktrace.c
sys/kern/kern_prot.c
sys/kern/kern_resource.c
sys/kern/kern_sig.c
sys/kern/kern_sysctl.c
sys/kern/kern_time.c
sys/kern/kern_xxx.c
sys/kern/subr_log.c
sys/kern/sys_process.c
sys/kern/tty.c
sys/kern/tty_endrun.c
sys/kern/tty_msts.c
sys/kern/tty_nmea.c
sys/kern/tty_pty.c
sys/kern/tty_tty.c
sys/kern/uipc_socket.c
sys/kern/uipc_syscalls.c
sys/kern/vfs_syscalls.c
sys/net/bpf.c
sys/net/if.c
sys/net/if_bridge.c
sys/net/if_mpw.c
sys/net/if_pflow.c
sys/net/if_pfsync.c
sys/net/if_ppp.c
sys/net/if_pppoe.c
sys/net/if_spppsubr.c
sys/net/if_switch.c
sys/net/if_trunk.c
sys/net/if_vlan.c
sys/net/pfkeyv2.c
sys/net/ppp_tty.c
sys/net/rtsock.c
sys/net/switchofp.c
sys/net80211/ieee80211_ioctl.c
sys/netinet/in_pcb.c
sys/netinet/ip_carp.c
sys/netinet/ip_output.c
sys/netinet6/ip6_input.c
sys/netinet6/ip6_output.c
sys/nfs/nfs_syscalls.c
sys/sys/ucred.h
sys/ufs/ufs/ufs_quota.c
sys/uvm/uvm_mmap.c
sys/uvm/uvm_swap.c