summaryrefslogtreecommitdiffstats
path: root/usr.bin/diff/diff.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2015-10-26set listening sockets to nonblocking, then handle as many incoming requeststedu1-9/+7
as we can in the loop instead of keventing per request.
2015-10-26dns check needs to be done on the kernel address after copyintedu1-6/+7
2015-10-26Allow NET_RT_IFLIST in pledge "dns" as wellderaadt1-2/+2
2015-10-26Kernel got fixed we no longer need to check if rtm_pid is 0 to filter outclaudio1-3/+2
route messages that are not from us.
2015-10-26If the system call is entirely unpermitted, code will be 0, and there isderaadt2-7/+12
no pledge to recommend.
2015-10-26add setreuid/setregid to "id"deraadt1-1/+3
2015-10-26stop saving a pidfile; ok jung zhukderaadt1-40/+1
2015-10-26fix PATH_INFO for / requestsjung1-2/+2
diff from Denis Fondras ok reyk
2015-10-26Nothing in base uses native language support anymore. Remove NLSbluhm7-90/+9
support from the makefiles. OK naddy@
2015-10-26remove libutil from dpadd tootedu3-6/+3
2015-10-26remove libutil from dpadd tootedu1-2/+2
2015-10-26last consumer in base of pidfile()...deraadt2-5/+4
2015-10-26remove util.h include and -lutil after pidfile removaljung8-15/+8
ok deraadt
2015-10-26Stop writing a pidfilederaadt3-31/+6
ok benno jung
2015-10-26stop using pidfile()deraadt4-10/+3
ok benno jung jca
2015-10-26remove unneeded pidfile() from smtpdjung1-5/+1
ok gilles
2015-10-26Sync "ifconfig create" interface list with ifconfig -C output.jsg1-3/+7
Adds pair, svlan, tap and vxlan.
2015-10-26avoid a potential double freejsg1-1/+2
ok gilles@
2015-10-26Add autoport to netinet6 regress testsvgross1-2/+2
2015-10-26Add regress test on local route insertionsvgross3-2/+130
2015-10-26change some pledge_fail() error/codesemarie1-4/+4
- for PLEDGE_FATTR: the code is more accurate to be PLEDGE_FATTR, has p->p_pledgenote could have multiple bits inside, and it is the lake of PLEDGE_FATTR that make the check fail. - for PLEDGE_RECVFD and PLEDGE_SENDFD, change the error to be EINVAL: we fail, not because of lake of PLEDGE_RECVFD / PLEDGE_SENDFD permission, but because the value passed is invalid in pledged program (for example trying to send a VDIR). "go ahead" deraadt@
2015-10-26make pledge_check(), used for syscall check with pledge, returns an error andsemarie3-10/+17
provide the required pledge request for pledge_fail(). ok deraadt@
2015-10-26Using realm for bsdauth is misleading. It is currently unusable.yasuoka1-5/+5
2015-10-26temporary unhook regress/sys/kern/pledge from regresssemarie1-2/+4
2015-10-26Fix typo certopt->certopts in shell variable. This would cause the test todtucker1-2/+2
hang at a host key prompt if you have an A or CNAME for "proxy" in your local domain.
2015-10-26Cast isdigit()'s argument to unsigned char.mmcc1-2/+2
ok guenther@
2015-10-26adjust macro usage to the usual conventionsschwarze1-481/+483
2015-10-26Partial revert of r1.79, "np" handling is a bit trickier than expected.jca1-4/+3
2015-10-26Set low-delay traffic class for IPv6 connections as welljca1-11/+14
While here, there is no option to pass a different tos, and no other use of the "tos" variable out of tn(), so move the "tos" variable in tn() and assign it the right value from the start. ok millert@
2015-10-26Rename the struct pollfd array, "set" -> "pfd"jca1-10/+10
"set" reminds of select(2) fd_set, and is never used elsewhere in the tree as a name for a pollfd array. No functional change.
2015-10-26Those variables should be local to the functions where they are used.jca1-12/+11
Gets rid of a lot of warnings with -Wshadow. No functional change.
2015-10-26space before punctuation;jmc1-3/+3
2015-10-26Kill unused variable and function.jca1-16/+1
No functional change.
2015-10-25hms() returns a pointer to static storage, annotate the return type with "const"jca1-3/+3
No functional change.
2015-10-25Correctly print size_t/time_t.jca1-7/+7
No functional change.
2015-10-25Expand tildes in filenames passed to -i before checking whether or not thedtucker1-6/+7
identity file exists. This means that if the shell doesn't do the expansion (eg because the option and filename were given as a single argument) then we'll still add the key. bz#2481, ok markus@
2015-10-25Plug memory leak introduced in r1.15.jca1-11/+1
No functional change.
2015-10-25Do not prepend "exec" to the shell command run by "Match exec" in a configdtucker1-10/+3
file. It's an unnecessary optimization from repurposed ProxyCommand code and prevents some things working with some shells. bz#2471, pointed out by res at qoxp.net. ok markus@
2015-10-25No longer create /var/run/ftpd.pid in daemon mode; OK jung@ jca@millert2-10/+4
2015-10-25Those two functions take no parameters, thus /* ARGSUSED */ is meaningless.jca1-3/+1
No functional change.
2015-10-25Sync surrounding code after reallocarray introduction.jca1-3/+3
No functional change.
2015-10-25Rename allocopy() to xstrdup(), and make use of strdup(3).jca1-11/+9
No functional change.
2015-10-25Kill unused ROUTE6D_CONF define.jca1-5/+1
Since 1999 no one has found the need to write support for a config file.
2015-10-25Another pidfile(3) removal; ok benno@jca2-6/+2
2015-10-25In case of error, also log the file name we failed to open.jca1-2/+2
2015-10-25Extend the modifiers allowed before formats: as well as the existingnicm5-113/+175
#{=10:...} length limit, add #{t:...} to convert a time_t format to a string, #{b:...} for basename and #{d:...} for dirname. Remove all the foo_string time formats as they can now be replaced by "t:", for example #{window_activity_string} becomes #{t:window_activity}.
2015-10-25unifdef some oldness. (BSD not defined since removal of param.h)tedu1-10/+1
ok jca sthen
2015-10-25ansifyjca6-45/+27
2015-10-25unbreak tree for ramdisks without INET6deraadt1-1/+3
2015-10-25Unify & improve paragraphs talking about "==> file <==" headers inzhuk2-12/+12
head(1) and tail(1). Input & okay from jmc@