Age | Commit message (Collapse) | Author |
|
tested by brad (who found a conversion bug..)
|
|
Fix some of the format characters in yyerror calls: %u -> %zu, %lld -> %u
ok claudio@
|
|
Fix a few yyerror() lines that are missing arguments.
ok claudio@ sthen@
|
|
with and ok schwarze@
|
|
with a simple strdup().
Found by brad@ with LLVM; OK doug@
|
|
discussion with millert about POLLHUP, which is not needed here because
this is a bpf description, but indicates we need to consider that elsewhere.
ok millert
|
|
|
|
use svc_default_enabled_flags like any other function...
|
|
ok swartze@
|
|
(But leave the VMS workaround intact)
|
|
avoid fd_set overflows.
Back when I was young, I fixed these throughout the tree, and the world
continued on ignoring the issue... The malloc/free dance was used because
poll() was not very portable yet. Now poll() is commonplace, and we should
use this safer API.
ok guenther millert
|
|
dance which was used to avoid fd_set overflow with high file descriptor
values.
ok doug
|
|
with libevent.
this has been in snaps for a while without any negative (or positive)
feedback.
review and tweaks by bluhm@ nicm@
ok bluhm@ deraadt@
|
|
ok tedu@
|
|
|
|
may end up in ${svc} by mistake.
OK ajacoutot@
|
|
instead of calling fcntl(F_SETFD) later.
ok otto@ millert@
|
|
iostat.c:214:3: warning: add explicit braces to avoid dangling else [-Wdangling-else]
ok guenther@ millert@
|
|
ok deraadt@
|
|
original message to ~/dead.letter so it's not lost
|
|
Eliminate a couple function pointer casts, fixing the function to match
in one case
|
|
about constness and none of these were
|
|
stubs (they have different prototypes, after all).
Fill in missing prototypes.
Use void* arguments on closure-style callbacks, with local variables of
the expected type.
Keep deleting unnecessary casts.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
prodded by deraadt@
|
|
|
|
Now that newline stripping isn't needed, use vfprintf() instead of formatting
and then writing it out.
Delete bogus XXX comment that predated the switch to vsnprintf()
Make the format string const char *
|
|
|
|
suppress compiler warnings.
Noted with gcc -Wall, then prodded by brad@ and clang
|
|
function as xmallocfailure() and use that in the locations where
reallocarray's checks alone aren't sufficient.
ok doug@ deraadt@
|
|
|
|
|
|
ok millert@
|
|
OK deraadt@
|
|
Pointed out by LLVM.
rtadvd.c:979:7: warning: absolute value function 'abs' given an argument of type
'long long' but has parameter of type 'int' which may cause truncation of value
[-Wabsolute-value]
ok dcoppa@ millert@
|
|
Tested by ajacoutot@ and others
OK doug@
|
|
error. Traditionally, web servers responsed with the request path on
40x errors which could be abused to inject JavaScript etc. Instead of
sanitizing the path, we just don't reprint it. Also modify the style
a little bit but keep Comic Sans.
With input from Jonas Lindemann and doug@
|
|
relevant example snippet in the relayd.conf(5) man page.
Change the default SSL protocols in the example file/man page to
"no tlsv1.0" (suggested by sthen@), which will enable the TLSv1.1
and TLSv1.2 protocols only.
feedback/ok jsing@ reyk@ sthen@
|
|
It was mandatory in the grammar but never used in the code.
A fully transparent relay can now be specified with the following
directive in a relay block: "transparent forward to destination".
OK sthen@
|
|
Perform one level of expansion on the various "portability" macros from os-*.h
Delete support for Hesiod and the pre-4.4 versions of the NFS API
Delete the no-op unlock_mntlist()
unifdef -UFASCIST_DF_COMMAND -UMOUNT_HELPER_SOURCE
Move the struct mntent and MNTMAXSTR definitions into include/am.h
Move the commented-out -DHAS_NDBM_MAPS into amd/Makefile
Expand OS_REP to "bsd44".
With config/* empty, delete them.
"lot of stuff...but I know your process on this" deraadt@
|
|
|
|
-DHAS_NIS_MAPS -DHAS_NIS_RELOAD -DRPC_4 -DHAS_UNION_MAPS \
-DHAS_TCP_NFS -DOS_HAS_NDBM -DNFS_PROTOCOL_VERSION=3 \
-DNFS_ARGS_NEEDS_PATH -DPRECISE_SYMLINKS -DHAS_EMPTY_AUTOMOUNTS \
-DNEED_MNTOPT_PARSER -DSHORT_MOUNT_NAME -DHAS_NFS_QUALIFIED_NAMES \
-UUPDATE_MTAB -UFIXUP_MNTENT -UMNTENT_HDR -UMNTINFO_DEV \
-UMNTOPT_COMPRESS -UMNTOPT_NQNFS -UINFORM_MOUNTD \
-USUNOS4_WORKAROUND -UULTRIX_HACK
ok deraadt@
|
|
BSD-style getmntinfo(), BSD signals, 4.4BSD unmount(), etc
Delete configurations for other OSes
Delete fsinfo and mk-amd-map, as we don't build them.
ok deraadt@
|
|
|
|
ok doug
|