History log of /dragonfly/lib/ (Results 151 – 175 of 3795)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
df052c2a02-Apr-2021 Sascha Wildner <saw@online.de>

Fix typo in various licenses: merchantibility -> merchantability


/dragonfly/contrib/tcp_wrappers/DISCLAIMER
/dragonfly/contrib/tcp_wrappers/strcasecmp.c
/dragonfly/contrib/tcpdump/slcompress.h
/dragonfly/crypto/openssh/loginrec.c
/dragonfly/include/rpcsvc/bootparam_prot.x
/dragonfly/include/rpcsvc/key_prot.x
/dragonfly/include/rpcsvc/klm_prot.x
/dragonfly/include/rpcsvc/mount.x
/dragonfly/include/rpcsvc/nfs_prot.x
/dragonfly/include/rpcsvc/nis.x
/dragonfly/include/rpcsvc/nis_cache.x
/dragonfly/include/rpcsvc/nis_callback.x
/dragonfly/include/rpcsvc/nis_db.h
/dragonfly/include/rpcsvc/nis_object.x
/dragonfly/include/rpcsvc/nis_tags.h
/dragonfly/include/rpcsvc/nislib.h
/dragonfly/include/rpcsvc/pmap_prot.x
/dragonfly/include/rpcsvc/rex.x
/dragonfly/include/rpcsvc/rnusers.x
/dragonfly/include/rpcsvc/rstat.x
/dragonfly/include/rpcsvc/rwall.x
/dragonfly/include/rpcsvc/sm_inter.x
/dragonfly/include/rpcsvc/spray.x
/dragonfly/include/rpcsvc/yp.x
/dragonfly/include/rpcsvc/yppasswd.x
/dragonfly/include/rpcsvc/ypupdate_prot.x
libc/rpc/clnt_generic.c
libc/rpc/rpcb_clnt.c
libc/xdr/xdr_array.c
libc/xdr/xdr_float.c
libc/xdr/xdr_mem.c
libc/xdr/xdr_rec.c
libc/xdr/xdr_reference.c
libc/xdr/xdr_stdio.c
librpcsvc/rnusers.c
librpcsvc/rstat.c
librpcsvc/rwall.c
librpcsvc/secretkey.c
librpcsvc/xcrypt.c
libtelnet/krb4encpwd.c
libtelnet/rsaencpwd.c
/dragonfly/libexec/rpc.rstatd/rstat_proc.c
/dragonfly/share/man/man4/ath.4
/dragonfly/share/man/man4/ath_hal.4
/dragonfly/share/man/man4/mpr.4
/dragonfly/share/man/man4/mps.4
/dragonfly/sys/contrib/dev/ath/ath_hal/ar9300/ar9300_devid.h
/dragonfly/sys/dev/misc/evdev/freebsd-bitstring.h
/dragonfly/sys/dev/netif/ath/ath/if_ath.c
/dragonfly/sys/dev/netif/ath/ath/if_ath_ahb.c
/dragonfly/sys/dev/netif/ath/ath/if_ath_alq.c
/dragonfly/sys/dev/netif/ath/ath/if_ath_alq.h
/dragonfly/sys/dev/netif/ath/ath/if_ath_beacon.c
/dragonfly/sys/dev/netif/ath/ath/if_ath_beacon.h
/dragonfly/sys/dev/netif/ath/ath/if_ath_btcoex.c
/dragonfly/sys/dev/netif/ath/ath/if_ath_btcoex.h
/dragonfly/sys/dev/netif/ath/ath/if_ath_debug.c
/dragonfly/sys/dev/netif/ath/ath/if_ath_debug.h
/dragonfly/sys/dev/netif/ath/ath/if_ath_descdma.c
/dragonfly/sys/dev/netif/ath/ath/if_ath_descdma.h
/dragonfly/sys/dev/netif/ath/ath/if_ath_ioctl.c
/dragonfly/sys/dev/netif/ath/ath/if_ath_ioctl.h
/dragonfly/sys/dev/netif/ath/ath/if_ath_keycache.c
/dragonfly/sys/dev/netif/ath/ath/if_ath_keycache.h
/dragonfly/sys/dev/netif/ath/ath/if_ath_led.c
/dragonfly/sys/dev/netif/ath/ath/if_ath_led.h
/dragonfly/sys/dev/netif/ath/ath/if_ath_lna_div.c
/dragonfly/sys/dev/netif/ath/ath/if_ath_lna_div.h
/dragonfly/sys/dev/netif/ath/ath/if_ath_misc.h
/dragonfly/sys/dev/netif/ath/ath/if_ath_pci.c
/dragonfly/sys/dev/netif/ath/ath/if_ath_pci_devlist.h
/dragonfly/sys/dev/netif/ath/ath/if_ath_rx.c
/dragonfly/sys/dev/netif/ath/ath/if_ath_rx.h
/dragonfly/sys/dev/netif/ath/ath/if_ath_rx_edma.c
/dragonfly/sys/dev/netif/ath/ath/if_ath_rx_edma.h
/dragonfly/sys/dev/netif/ath/ath/if_ath_spectral.c
/dragonfly/sys/dev/netif/ath/ath/if_ath_spectral.h
/dragonfly/sys/dev/netif/ath/ath/if_ath_sysctl.c
/dragonfly/sys/dev/netif/ath/ath/if_ath_sysctl.h
/dragonfly/sys/dev/netif/ath/ath/if_ath_tdma.c
/dragonfly/sys/dev/netif/ath/ath/if_ath_tdma.h
/dragonfly/sys/dev/netif/ath/ath/if_ath_tsf.h
/dragonfly/sys/dev/netif/ath/ath/if_ath_tx.c
/dragonfly/sys/dev/netif/ath/ath/if_ath_tx.h
/dragonfly/sys/dev/netif/ath/ath/if_ath_tx_edma.c
/dragonfly/sys/dev/netif/ath/ath/if_ath_tx_edma.h
/dragonfly/sys/dev/netif/ath/ath/if_ath_tx_ht.c
/dragonfly/sys/dev/netif/ath/ath/if_ath_tx_ht.h
/dragonfly/sys/dev/netif/ath/ath/if_athdfs.h
/dragonfly/sys/dev/netif/ath/ath/if_athioctl.h
/dragonfly/sys/dev/netif/ath/ath/if_athrate.h
/dragonfly/sys/dev/netif/ath/ath/if_athvar.h
/dragonfly/sys/dev/netif/ath/ath_dfs/null/dfs_null.c
/dragonfly/sys/dev/netif/ath/ath_hal/ah_osdep.c
/dragonfly/sys/dev/netif/ath/ath_hal/ah_osdep.h
/dragonfly/sys/dev/netif/ath/ath_hal/ar9003/ar9300_devid.h
/dragonfly/sys/dev/netif/ath/ath_rate/amrr/amrr.c
/dragonfly/sys/dev/netif/ath/ath_rate/amrr/amrr.h
/dragonfly/sys/dev/netif/ath/ath_rate/onoe/onoe.c
/dragonfly/sys/dev/netif/ath/ath_rate/onoe/onoe.h
/dragonfly/sys/dev/netif/ath/ath_rate/sample/sample.c
/dragonfly/sys/dev/netif/ath/ath_rate/sample/sample.h
/dragonfly/sys/dev/netif/ath/ath_rate/sample/tx_schedules.h
/dragonfly/sys/dev/netif/bwn/bwn/if_bwn.c
/dragonfly/sys/dev/netif/bwn/bwn/if_bwn_chipid.h
/dragonfly/sys/dev/netif/bwn/bwn/if_bwn_debug.h
/dragonfly/sys/dev/netif/bwn/bwn/if_bwn_misc.h
/dragonfly/sys/dev/netif/bwn/bwn/if_bwn_phy_common.c
/dragonfly/sys/dev/netif/bwn/bwn/if_bwn_phy_common.h
/dragonfly/sys/dev/netif/bwn/bwn/if_bwn_phy_g.c
/dragonfly/sys/dev/netif/bwn/bwn/if_bwn_phy_g.h
/dragonfly/sys/dev/netif/bwn/bwn/if_bwn_phy_lp.c
/dragonfly/sys/dev/netif/bwn/bwn/if_bwn_phy_lp.h
/dragonfly/sys/dev/netif/bwn/bwn/if_bwn_util.c
/dragonfly/sys/dev/netif/bwn/bwn/if_bwn_util.h
/dragonfly/sys/dev/netif/bwn/bwn/if_bwnreg.h
/dragonfly/sys/dev/netif/bwn/bwn/if_bwnvar.h
/dragonfly/sys/dev/netif/bwn/siba/siba_bwn.c
/dragonfly/sys/dev/netif/bwn/siba/siba_core.c
/dragonfly/tools/tools/ath/athdebug/athdebug.c
/dragonfly/tools/tools/ath/athdecode/main.c
/dragonfly/tools/tools/ath/athkey/athkey.c
/dragonfly/tools/tools/ath/athpoke/athpoke.c
/dragonfly/tools/tools/ath/athpow/athpow.c
/dragonfly/tools/tools/ath/athprom/athprom.c
/dragonfly/tools/tools/ath/athrd/athrd.1
/dragonfly/tools/tools/ath/athrd/athrd.c
/dragonfly/tools/tools/ath/athregs/dumpregs.c
/dragonfly/tools/tools/ath/athstats/athstats.c
/dragonfly/tools/tools/ath/athstats/athstats.h
/dragonfly/tools/tools/ath/athstats/main.c
/dragonfly/tools/tools/ath/athstats/statfoo.c
/dragonfly/tools/tools/ath/athstats/statfoo.h
/dragonfly/tools/tools/ath/common/ah_osdep.h
/dragonfly/tools/tools/ath/common/diag.h
/dragonfly/tools/tools/ath/common/dumpregs.h
/dragonfly/tools/tools/ath/common/dumpregs_5210.c
/dragonfly/tools/tools/ath/common/dumpregs_5211.c
/dragonfly/tools/tools/ath/common/dumpregs_5212.c
/dragonfly/tools/tools/ath/common/dumpregs_5416.c
/dragonfly/tools/tools/crypto/cryptotest.c
/dragonfly/tools/tools/net80211/wlanstats/main.c
/dragonfly/tools/tools/net80211/wlanstats/statfoo.c
/dragonfly/tools/tools/net80211/wlanstats/statfoo.h
/dragonfly/tools/tools/net80211/wlanstats/wlanstats.c
/dragonfly/tools/tools/net80211/wlanstats/wlanstats.h
/dragonfly/tools/tools/net80211/wlanwatch/wlanwatch.c
/dragonfly/tools/tools/net80211/wlanwds/wlanwds.c
/dragonfly/usr.bin/dsynth/build.c
/dragonfly/usr.bin/dsynth/pkglist.c
/dragonfly/usr.bin/keylogin/keylogin.c
/dragonfly/usr.bin/keylogout/keylogout.c
/dragonfly/usr.bin/login/login_fbtab.c
/dragonfly/usr.bin/newkey/generic.c
/dragonfly/usr.bin/newkey/newkey.c
/dragonfly/usr.bin/newkey/update.c
/dragonfly/usr.bin/rpcgen/rpc_clntout.c
/dragonfly/usr.bin/rpcgen/rpc_cout.c
/dragonfly/usr.bin/rpcgen/rpc_hout.c
/dragonfly/usr.bin/rpcgen/rpc_main.c
/dragonfly/usr.bin/rpcgen/rpc_parse.c
/dragonfly/usr.bin/rpcgen/rpc_parse.h
/dragonfly/usr.bin/rpcgen/rpc_sample.c
/dragonfly/usr.bin/rpcgen/rpc_scan.c
/dragonfly/usr.bin/rpcgen/rpc_scan.h
/dragonfly/usr.bin/rpcgen/rpc_svcout.c
/dragonfly/usr.bin/rpcgen/rpc_tblout.c
/dragonfly/usr.bin/rpcgen/rpc_util.c
/dragonfly/usr.bin/rpcgen/rpc_util.h
/dragonfly/usr.bin/rpcinfo/rpcinfo.c
/dragonfly/usr.sbin/keyserv/keyserv.c
/dragonfly/usr.sbin/keyserv/setkey.c
/dragonfly/usr.sbin/ppp/arp.c
/dragonfly/usr.sbin/ppp/physical.c
/dragonfly/usr.sbin/ppp/physical.h
/dragonfly/usr.sbin/ppp/slcompress.c
/dragonfly/usr.sbin/ppp/slcompress.h
/dragonfly/usr.sbin/rpc.ypupdated/update.c
/dragonfly/usr.sbin/slstat/slstat.c
/dragonfly/usr.sbin/usbdump/usbdump.c
/dragonfly/usr.sbin/wlandebug/wlandebug.c
/dragonfly/usr.sbin/ypbind/yp_ping.c
8b27a75c01-Apr-2021 Sascha Wildner <saw@online.de>

fcntl.2: Fix typo in .Dd

9534763331-Mar-2021 Matthew Dillon <dillon@apollo.backplane.com>

kernel - More fixes to libc's uname

* Remove no no-longer-used buf[] (and fix syntax error during
compilation).

* Do not parse garbage data in buffers in case the sysctls fail.
This would not h

kernel - More fixes to libc's uname

* Remove no no-longer-used buf[] (and fix syntax error during
compilation).

* Do not parse garbage data in buffers in case the sysctls fail.
This would not have been fatal anyway since we always ensure
that the buffers are zero-terminated, but it wasn't clean either.
Clean it up.

* Use the proper name->arrayname for a pointer to the array instead
of &name->arrayname. We could also use &name->arrayname[0] but
just stick with the first method.

Pointed-out-by: dan

show more ...

631c21f231-Mar-2021 Matthew Dillon <dillon@apollo.backplane.com>

kernel - Adjust varsym API to match manual page, remove from uname

* Adjust the varsym system call to match the manual page. It
now returns 0 on success instead of the length, and returns
-1 wi

kernel - Adjust varsym API to match manual page, remove from uname

* Adjust the varsym system call to match the manual page. It
now returns 0 on success instead of the length, and returns
-1 with an errno of EOVERFLOW if the supplied buffer is too small.

* The uname*() code in libc actually assumed 0 would be returned
on success, and thus never actually allowed varsym overrides. Just
remove the functionality (that nobody uses) entirely.

Reported-by: dan

show more ...

c022ba7f30-Mar-2021 Matthew Dillon <dillon@apollo.backplane.com>

kernel - Add fcntl(F_GETPATH) (3)

* cache_fullpath() limits the result to MAXPATHLEN, but we must
still adjust the error code to match the manual page and netbsd.

4a80ad8d30-Mar-2021 dan <1338minus1@protonmail.com>

Modify fcntl.2 manpage to include informations about F_GETPATH


/dragonfly/Makefile_upgrade.inc
/dragonfly/contrib/bmake/ChangeLog
/dragonfly/contrib/bmake/FILES
/dragonfly/contrib/bmake/README.DRAGONFLY
/dragonfly/contrib/bmake/cond.c
/dragonfly/contrib/bmake/meta.c
/dragonfly/contrib/bmake/mk/ChangeLog
/dragonfly/contrib/bmake/mk/dirdeps.mk
/dragonfly/contrib/bmake/mk/install-mk
/dragonfly/contrib/bmake/mk/meta.autodep.mk
/dragonfly/contrib/bmake/nonints.h
/dragonfly/contrib/bmake/parse.c
/dragonfly/contrib/bmake/suff.c
/dragonfly/contrib/bmake/targ.c
/dragonfly/contrib/bmake/var.c
/dragonfly/games/ching/ching/hexagrams
/dragonfly/games/grdc/grdc.6
/dragonfly/include/Makefile
/dragonfly/include/byteswap.h
/dragonfly/include/rpc/auth.h
libc/sys/fcntl.2
/dragonfly/sbin/gpt/gpt.c
/dragonfly/share/misc/pci_vendors
/dragonfly/sys/bus/pci/pcidevs
/dragonfly/sys/bus/u4b/usb_dev.c
/dragonfly/sys/conf/files
/dragonfly/sys/contrib/edk2/Include/Protocol/SimpleTextOut.h
/dragonfly/sys/cpu/x86_64/include/endian.h
/dragonfly/sys/dev/drm/drm_file.c
/dragonfly/sys/dev/drm/drm_modeset_lock.c
/dragonfly/sys/dev/drm/include/linux/idr.h
/dragonfly/sys/dev/drm/include/linux/slab.h
/dragonfly/sys/dev/misc/evdev/cdev.c
/dragonfly/sys/dev/misc/ipmi/ipmi.c
/dragonfly/sys/dev/netif/bge/if_bgereg.h
/dragonfly/sys/dev/netif/bnx/if_bnx.c
/dragonfly/sys/dev/netif/bnx/if_bnxvar.h
/dragonfly/sys/dev/netif/em/if_em.c
/dragonfly/sys/dev/netif/emx/if_emx.c
/dragonfly/sys/dev/netif/ig_hal/e1000_80003es2lan.c
/dragonfly/sys/dev/netif/ig_hal/e1000_80003es2lan.h
/dragonfly/sys/dev/netif/ig_hal/e1000_82540.c
/dragonfly/sys/dev/netif/ig_hal/e1000_82541.c
/dragonfly/sys/dev/netif/ig_hal/e1000_82541.h
/dragonfly/sys/dev/netif/ig_hal/e1000_82542.c
/dragonfly/sys/dev/netif/ig_hal/e1000_82543.c
/dragonfly/sys/dev/netif/ig_hal/e1000_82543.h
/dragonfly/sys/dev/netif/ig_hal/e1000_82571.c
/dragonfly/sys/dev/netif/ig_hal/e1000_82571.h
/dragonfly/sys/dev/netif/ig_hal/e1000_api.c
/dragonfly/sys/dev/netif/ig_hal/e1000_api.h
/dragonfly/sys/dev/netif/ig_hal/e1000_defines.h
/dragonfly/sys/dev/netif/ig_hal/e1000_hw.h
/dragonfly/sys/dev/netif/ig_hal/e1000_ich8lan.c
/dragonfly/sys/dev/netif/ig_hal/e1000_ich8lan.h
/dragonfly/sys/dev/netif/ig_hal/e1000_mac.c
/dragonfly/sys/dev/netif/ig_hal/e1000_mac.h
/dragonfly/sys/dev/netif/ig_hal/e1000_manage.c
/dragonfly/sys/dev/netif/ig_hal/e1000_manage.h
/dragonfly/sys/dev/netif/ig_hal/e1000_nvm.c
/dragonfly/sys/dev/netif/ig_hal/e1000_nvm.h
/dragonfly/sys/dev/netif/ig_hal/e1000_phy.c
/dragonfly/sys/dev/netif/ig_hal/e1000_phy.h
/dragonfly/sys/dev/netif/ig_hal/e1000_regs.h
/dragonfly/sys/kern/kern_descrip.c
/dragonfly/sys/kern/kern_device.c
/dragonfly/sys/kern/kern_fp.c
/dragonfly/sys/kern/kern_kmalloc.c
/dragonfly/sys/kern/kern_shutdown.c
/dragonfly/sys/kern/kern_slaballoc.c
/dragonfly/sys/kern/makesyscalls.sh
/dragonfly/sys/kern/subr_diskiocom.c
/dragonfly/sys/kern/subr_diskslice.c
/dragonfly/sys/kern/tty_cons.c
/dragonfly/sys/kern/vfs_cache.c
/dragonfly/sys/kern/vfs_default.c
/dragonfly/sys/kern/vfs_lock.c
/dragonfly/sys/kern/vfs_syscalls.c
/dragonfly/sys/kern/vfs_vnops.c
/dragonfly/sys/kern/vfs_vopops.c
/dragonfly/sys/netgraph/ksocket/ng_ksocket.h
/dragonfly/sys/netgraph7/ksocket/ng_ksocket.h
/dragonfly/sys/netinet/tcp_usrreq.c
/dragonfly/sys/netproto/802_11/ieee80211_input.h
/dragonfly/sys/sys/_malloc.h
/dragonfly/sys/sys/cdefs.h
/dragonfly/sys/sys/cpu_topology.h
/dragonfly/sys/sys/cpuctl.h
/dragonfly/sys/sys/device.h
/dragonfly/sys/sys/disklabel32.h
/dragonfly/sys/sys/endian.h
/dragonfly/sys/sys/exislock2.h
/dragonfly/sys/sys/fcntl.h
/dragonfly/sys/sys/file.h
/dragonfly/sys/sys/filedesc.h
/dragonfly/sys/sys/globaldata.h
/dragonfly/sys/sys/malloc.h
/dragonfly/sys/sys/proc.h
/dragonfly/sys/sys/ptrace.h
/dragonfly/sys/sys/sbuf.h
/dragonfly/sys/sys/shm.h
/dragonfly/sys/sys/sysunion.h
/dragonfly/sys/sys/time.h
/dragonfly/sys/sys/timepps.h
/dragonfly/sys/sys/uuid.h
/dragonfly/sys/sys/vfsops.h
/dragonfly/sys/sys/vnode.h
/dragonfly/sys/vfs/devfs/devfs_vnops.c
/dragonfly/sys/vfs/fuse/fuse_device.c
/dragonfly/sys/vfs/fuse/fuse_io.c
/dragonfly/sys/vfs/fuse/fuse_vnops.c
/dragonfly/sys/vfs/hammer/hammer_disk.h
/dragonfly/sys/vfs/hammer2/hammer2.h
/dragonfly/sys/vfs/hammer2/hammer2_chain.c
/dragonfly/sys/vfs/hammer2/hammer2_inode.c
/dragonfly/sys/vfs/hammer2/hammer2_io.c
/dragonfly/sys/vfs/hammer2/hammer2_iocom.c
/dragonfly/sys/vfs/hammer2/hammer2_vfsops.c
/dragonfly/sys/vfs/msdosfs/bpb.h
/dragonfly/sys/vfs/nfs/nfs.h
/dragonfly/sys/vfs/nfs/nfs_node.c
/dragonfly/sys/vfs/nfs/nfs_subs.c
/dragonfly/sys/vfs/nfs/nfs_vfsops.c
/dragonfly/sys/vfs/nfs/nfsmount.h
/dragonfly/sys/vfs/tmpfs/tmpfs.h
/dragonfly/sys/vfs/tmpfs/tmpfs_subr.c
/dragonfly/sys/vfs/tmpfs/tmpfs_vfsops.c
/dragonfly/sys/vm/vm_object.c
/dragonfly/usr.bin/dsynth/build.c
/dragonfly/usr.bin/dsynth/config.c
/dragonfly/usr.bin/dsynth/dsynth.1
/dragonfly/usr.bin/dsynth/dsynth.h
/dragonfly/usr.bin/dsynth/repo.c
/dragonfly/usr.bin/hexdump/display.c
/dragonfly/usr.bin/hexdump/odsyntax.c
/dragonfly/usr.bin/hexdump/parse.c
/dragonfly/usr.bin/vmstat/vmstat.c
/dragonfly/usr.sbin/pciconf/pciconf.8
/dragonfly/usr.sbin/pciconf/pciconf.c
ca859ede14-Mar-2021 zrj <rimvydas.jasinskas@gmail.com>

libstand: Move H and L macros were they are used.

Avoid possible issues where plain "L" is used for unicode strings.

373f159b14-Mar-2021 zrj <rimvydas.jasinskas@gmail.com>

<sys/endian.h>: Unify _QUAD_*WORD macros.

Taken-from: NetBSD

ab5dc9ac08-Mar-2021 Sascha Wildner <saw@online.de>

libpthread: Implement pthread_getname_np() and pthread_setname_np().

Varieties of pthread_get_name_np() and pthread_set_name_np() that return
an integer (0 or error number).

These are only used for

libpthread: Implement pthread_getname_np() and pthread_setname_np().

Varieties of pthread_get_name_np() and pthread_set_name_np() that return
an integer (0 or error number).

These are only used for debugging but it looks like some ports want them.

I took some of the documentation from FreeBSD.

Reported-by: zrj

show more ...

58346d7508-Mar-2021 Sascha Wildner <saw@online.de>

libpthread: Separate the MLINKS better.

29dc1b7701-Mar-2021 Sascha Wildner <saw@online.de>

utimensat.2: Fix the description of EINVAL.

Reported-by: zrj
Taken-from: FreeBSD

9693041a28-Feb-2021 Sascha Wildner <saw@online.de>

liblzma: Add a liblzma.pc file for the benefit of dports.

Reported-by: zrj

9736b35825-Feb-2021 zrj <rimvydas.jasinskas@gmail.com>

libc: Attempt to execute new atexit() destructors during __cxa_finalize().

Some c++ programs might and do register new destructors from other
destructors. Try to handle such cases by relooping sc

libc: Attempt to execute new atexit() destructors during __cxa_finalize().

Some c++ programs might and do register new destructors from other
destructors. Try to handle such cases by relooping scan upto
CXA_DTORS_ITERATIONS times (like what _thread_finalize() does) if new
destructors get added even if that will not strictly match LIFO order.

show more ...

941642e817-Feb-2021 Aaron LI <aly@aaronly.me>

fexecve(2): Return ENOENT if exec a script opened with O_CLOEXEC

If a script (i.e., interpreter file) is opened with the O_CLOEXEC flag,
it would be closed by the time the interpreter is executed, a

fexecve(2): Return ENOENT if exec a script opened with O_CLOEXEC

If a script (i.e., interpreter file) is opened with the O_CLOEXEC flag,
it would be closed by the time the interpreter is executed, and then the
executation would fail. So just return ENOENT from fexecve(2). This
behavior aligns with Linux's.

See Linux's fexecve(2) man page.

See also: https://bugzilla.kernel.org/show_bug.cgi?id=74481

Thank dillon for implementing the holdvnode2() function to obtain the
fileflags together with the fp from fd.

show more ...

337acc4417-Feb-2021 Aaron LI <aly@aaronly.me>

Implement the fexecve(2) system call

The fexecve(2) function is equivalent to execve(2), except that the file
to be executed is determined by the file descriptor fd instead of a
pathname.

The purpo

Implement the fexecve(2) system call

The fexecve(2) function is equivalent to execve(2), except that the file
to be executed is determined by the file descriptor fd instead of a
pathname.

The purpose of fexecve(2) is to enable executing a file which has been
verified to be the intended file. It is possible to actively check the
file by reading from the file descriptor and be sure that the file is
not exchanged for another between the reading and the execution.

See https://pubs.opengroup.org/onlinepubs/9699919799/functions/fexecve.html

This work is partially based on swildner's patch and FreeBSD's
implementation (revisions 177787, 182191, 238220).

XXX: We're missing O_EXEC support in open(2).

Reviewed-by: dillon

show more ...

78e2ba7317-Feb-2021 Aaron LI <aly@aaronly.me>

execve(2): Minor markup improvements

f01ed87523-Jan-2021 Aaron LI <aly@aaronly.me>

execve.2: Document reopening of standard descriptors

Meanwhile, add the STANDARDS section and document the current standard
status. The reopening of standard descriptors is specified in
IEEE Std 10

execve.2: Document reopening of standard descriptors

Meanwhile, add the STANDARDS section and document the current standard
status. The reopening of standard descriptors is specified in
IEEE Std 1003.1-2001/Cor 1-2002, item XSH/TC1/D6/15.

Obtained-from: FreeBSD (r101480)

show more ...


/dragonfly/contrib/bmake/ChangeLog
/dragonfly/contrib/bmake/FILES
/dragonfly/contrib/bmake/Makefile
/dragonfly/contrib/bmake/Makefile.config.in
/dragonfly/contrib/bmake/README.DRAGONFLY
/dragonfly/contrib/bmake/arch.c
/dragonfly/contrib/bmake/bmake.1
/dragonfly/contrib/bmake/bmake.cat1
/dragonfly/contrib/bmake/boot-strap
/dragonfly/contrib/bmake/bsd.after-import.mk
/dragonfly/contrib/bmake/buf.c
/dragonfly/contrib/bmake/buf.h
/dragonfly/contrib/bmake/compat.c
/dragonfly/contrib/bmake/cond.c
/dragonfly/contrib/bmake/config.h.in
/dragonfly/contrib/bmake/configure
/dragonfly/contrib/bmake/configure.in
/dragonfly/contrib/bmake/dir.c
/dragonfly/contrib/bmake/dir.h
/dragonfly/contrib/bmake/enum.c
/dragonfly/contrib/bmake/enum.h
/dragonfly/contrib/bmake/for.c
/dragonfly/contrib/bmake/hash.c
/dragonfly/contrib/bmake/hash.h
/dragonfly/contrib/bmake/job.c
/dragonfly/contrib/bmake/job.h
/dragonfly/contrib/bmake/lst.c
/dragonfly/contrib/bmake/lst.h
/dragonfly/contrib/bmake/main.c
/dragonfly/contrib/bmake/make-bootstrap.sh.in
/dragonfly/contrib/bmake/make-conf.h
/dragonfly/contrib/bmake/make.1
/dragonfly/contrib/bmake/make.c
/dragonfly/contrib/bmake/make.h
/dragonfly/contrib/bmake/make_malloc.c
/dragonfly/contrib/bmake/make_malloc.h
/dragonfly/contrib/bmake/meta.c
/dragonfly/contrib/bmake/meta.h
/dragonfly/contrib/bmake/metachar.c
/dragonfly/contrib/bmake/metachar.h
/dragonfly/contrib/bmake/mk/ChangeLog
/dragonfly/contrib/bmake/mk/FILES
/dragonfly/contrib/bmake/mk/README
/dragonfly/contrib/bmake/mk/auto.dep.mk
/dragonfly/contrib/bmake/mk/auto.obj.mk
/dragonfly/contrib/bmake/mk/autoconf.mk
/dragonfly/contrib/bmake/mk/autodep.mk
/dragonfly/contrib/bmake/mk/compiler.mk
/dragonfly/contrib/bmake/mk/cython.mk
/dragonfly/contrib/bmake/mk/dirdeps-cache-update.mk
/dragonfly/contrib/bmake/mk/dirdeps-options.mk
/dragonfly/contrib/bmake/mk/dirdeps-targets.mk
/dragonfly/contrib/bmake/mk/dirdeps.mk
/dragonfly/contrib/bmake/mk/dpadd.mk
/dragonfly/contrib/bmake/mk/files.mk
/dragonfly/contrib/bmake/mk/gendirdeps.mk
/dragonfly/contrib/bmake/mk/host-target.mk
/dragonfly/contrib/bmake/mk/host.libnames.mk
/dragonfly/contrib/bmake/mk/inc.mk
/dragonfly/contrib/bmake/mk/init.mk
/dragonfly/contrib/bmake/mk/install-mk
/dragonfly/contrib/bmake/mk/install-new.mk
/dragonfly/contrib/bmake/mk/java.mk
/dragonfly/contrib/bmake/mk/lib.mk
/dragonfly/contrib/bmake/mk/libnames.mk
/dragonfly/contrib/bmake/mk/libs.mk
/dragonfly/contrib/bmake/mk/links.mk
/dragonfly/contrib/bmake/mk/manifest.mk
/dragonfly/contrib/bmake/mk/meta.autodep.mk
/dragonfly/contrib/bmake/mk/meta.stage.mk
/dragonfly/contrib/bmake/mk/meta.subdir.mk
/dragonfly/contrib/bmake/mk/meta.sys.mk
/dragonfly/contrib/bmake/mk/meta2deps.py
/dragonfly/contrib/bmake/mk/meta2deps.sh
/dragonfly/contrib/bmake/mk/mk-files.txt
/dragonfly/contrib/bmake/mk/mkopt.sh
/dragonfly/contrib/bmake/mk/obj.mk
/dragonfly/contrib/bmake/mk/options.mk
/dragonfly/contrib/bmake/mk/own.mk
/dragonfly/contrib/bmake/mk/prlist.mk
/dragonfly/contrib/bmake/mk/prog.mk
/dragonfly/contrib/bmake/mk/progs.mk
/dragonfly/contrib/bmake/mk/rst2htm.mk
/dragonfly/contrib/bmake/mk/scripts.mk
/dragonfly/contrib/bmake/mk/srctop.mk
/dragonfly/contrib/bmake/mk/stage-install.sh
/dragonfly/contrib/bmake/mk/sys.clean-env.mk
/dragonfly/contrib/bmake/mk/sys.debug.mk
/dragonfly/contrib/bmake/mk/sys.dependfile.mk
/dragonfly/contrib/bmake/mk/sys.mk
/dragonfly/contrib/bmake/mk/sys.vars.mk
/dragonfly/contrib/bmake/mk/sys/AIX.mk
/dragonfly/contrib/bmake/mk/sys/Darwin.mk
/dragonfly/contrib/bmake/mk/sys/Generic.mk
/dragonfly/contrib/bmake/mk/sys/HP-UX.mk
/dragonfly/contrib/bmake/mk/sys/IRIX.mk
/dragonfly/contrib/bmake/mk/sys/Linux.mk
/dragonfly/contrib/bmake/mk/sys/NetBSD.mk
/dragonfly/contrib/bmake/mk/sys/OSF1.mk
/dragonfly/contrib/bmake/mk/sys/OpenBSD.mk
/dragonfly/contrib/bmake/mk/sys/SunOS.mk
/dragonfly/contrib/bmake/mk/sys/UnixWare.mk
/dragonfly/contrib/bmake/mk/target-flags.mk
/dragonfly/contrib/bmake/mk/warnings.mk
/dragonfly/contrib/bmake/mk/whats.mk
/dragonfly/contrib/bmake/mk/yacc.mk
/dragonfly/contrib/bmake/nonints.h
/dragonfly/contrib/bmake/os.sh
/dragonfly/contrib/bmake/parse.c
/dragonfly/contrib/bmake/pathnames.h
/dragonfly/contrib/bmake/str.c
/dragonfly/contrib/bmake/suff.c
/dragonfly/contrib/bmake/targ.c
/dragonfly/contrib/bmake/trace.c
/dragonfly/contrib/bmake/trace.h
/dragonfly/contrib/bmake/util.c
/dragonfly/contrib/bmake/var.c
/dragonfly/etc/mtree/BSD.usr.dist
/dragonfly/games/Makefile
/dragonfly/games/ching/Makefile
/dragonfly/games/ching/Makefile.inc
/dragonfly/games/ching/castching/Makefile
/dragonfly/games/ching/castching/castching.c
/dragonfly/games/ching/ching/Makefile
/dragonfly/games/ching/ching/ching.6
/dragonfly/games/ching/ching/ching.sh
/dragonfly/games/ching/ching/hexagrams
/dragonfly/games/ching/ching/macros
/dragonfly/games/ching/include/ching.h
/dragonfly/games/ching/printching/Makefile
/dragonfly/games/ching/printching/pathnames.h
/dragonfly/games/ching/printching/printching.c
libc/sys/execve.2
/dragonfly/usr.bin/bmake/Makefile
/dragonfly/usr.bin/bmake/config.h
/dragonfly/usr.bin/dsynth/config.c
a6dbcf2818-Feb-2021 Aaron LI <aly@aaronly.me>

libthread_xu: Add clock_nanosleep symbols to pthread.map

Although pthread.map is currently unused (commented in the Makefile),
add 'clock_nanosleep' and '_clock_nanosleep' symbols to it anyway.

cfbcdad718-Feb-2021 Sascha Wildner <saw@online.de>

libthread_xu: Remove some unused declarations from thr_private.h.

9e4cdec717-Feb-2021 Sascha Wildner <saw@online.de>

libc: Change microseconds args of ualarm() and usleep() to useconds_t.

It's a standard type and more expressive.

No functional change, unsigned int becomes uint32_t.

f7e13d9316-Feb-2021 Sascha Wildner <saw@online.de>

nanosleep.2: Mark up defines with .Dv

146d605106-Feb-2021 Sascha Wildner <saw@online.de>

libkinfo/Makefile: Oops, fix typo in the MLINKS.

80c39d1005-Feb-2021 Sascha Wildner <saw@online.de>

kinfo.3: Mention cputime_pcpu_statistics() and route_pcpu_statistics().

0b8a519e25-Jan-2021 Sascha Wildner <saw@online.de>

getipnodebyname.3: Fix missing whitespace.

cea736a123-Jan-2021 Sascha Wildner <saw@online.de>

Clean up markup of AF_INET* in a few manual pages.

12345678910>>...152