summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-10-26don't keep the passwd database open; callers do not expect that they willTed Unangst
become responsible for calling endpwent. ok deraadt
2015-10-26unifdef BUILTIN (unused), NLS (always set), SHORT_STRINGS (always set)Christian Weisgerber
and remove a few unused defines; no binary changes; ok tedu@ zhuk@
2015-10-26(char *)0 -> NULLmmcc
ok tedu@
2015-10-26Flesh out GPT info and tweak other verbiage to be less MBR specific.Kenneth R Westerback
2015-10-26Remove some useless defines and the set_cron_uid() function.Todd C. Miller
OK jung@
2015-10-26Let SLIST_REMOVE invalidate the pointer in more cases.Alexander Bluhm
OK jsing@
2015-10-26Rename err() to error() to prevent confusion with the stdlib function.mmcc
Discussed with jca@.
2015-10-26remove the silly username cache here and use libc user_from_uid.Ted Unangst
libc isn't (yet) any better, but it can improve with time.
2015-10-26remove TMPDIR supportTheo de Raadt
2015-10-26syncTheo de Raadt
2015-10-26rip6query goes to the attic. Hopefully route6d (rip6d?) will get someTheo de Raadt
love instead, prod prod. ok claudio jca mpi
2015-10-26remove TMPDIR support. ok millertTed Unangst
2015-10-26print uptime too. ok deraadtTed Unangst
2015-10-26one second amnesty for timeouts so we don't spin with short timeoutsTed Unangst
2015-10-26set listening sockets to nonblocking, then handle as many incoming requestsTed Unangst
as we can in the loop instead of keventing per request.
2015-10-26dns check needs to be done on the kernel address after copyinTed Unangst
2015-10-26Allow NET_RT_IFLIST in pledge "dns" as wellTheo de Raadt
2015-10-26Kernel got fixed we no longer need to check if rtm_pid is 0 to filter outClaudio Jeker
route messages that are not from us.
2015-10-26If the system call is entirely unpermitted, code will be 0, and there isTheo de Raadt
no pledge to recommend.
2015-10-26add setreuid/setregid to "id"Theo de Raadt
2015-10-26stop saving a pidfile; ok jung zhukTheo de Raadt
2015-10-26fix PATH_INFO for / requestsJoerg Jung
diff from Denis Fondras ok reyk
2015-10-26Nothing in base uses native language support anymore. Remove NLSAlexander Bluhm
support from the makefiles. OK naddy@
2015-10-26remove libutil from dpadd tooTed Unangst
2015-10-26remove libutil from dpadd tooTed Unangst
2015-10-26last consumer in base of pidfile()...Theo de Raadt
2015-10-26remove util.h include and -lutil after pidfile removalJoerg Jung
ok deraadt
2015-10-26Stop writing a pidfileTheo de Raadt
ok benno jung
2015-10-26stop using pidfile()Theo de Raadt
ok benno jung jca
2015-10-26remove unneeded pidfile() from smtpdJoerg Jung
ok gilles
2015-10-26Sync "ifconfig create" interface list with ifconfig -C output.Jonathan Gray
Adds pair, svlan, tap and vxlan.
2015-10-26avoid a potential double freeJonathan Gray
ok gilles@
2015-10-26Add autoport to netinet6 regress testsVincent Gross
2015-10-26Add regress test on local route insertionsVincent Gross
2015-10-26change some pledge_fail() error/codeSebastien Marie
- 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 andSebastien Marie
provide the required pledge request for pledge_fail(). ok deraadt@
2015-10-26Using realm for bsdauth is misleading. It is currently unusable.YASUOKA Masahiko
2015-10-26temporary unhook regress/sys/kern/pledge from regressSebastien Marie
2015-10-26Fix typo certopt->certopts in shell variable. This would cause the test toDarren Tucker
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.mmcc
ok guenther@
2015-10-26adjust macro usage to the usual conventionsIngo Schwarze
2015-10-26Partial revert of r1.79, "np" handling is a bit trickier than expected.Jeremie Courreges-Anglas
2015-10-26Set low-delay traffic class for IPv6 connections as wellJeremie Courreges-Anglas
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"Jeremie Courreges-Anglas
"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.Jeremie Courreges-Anglas
Gets rid of a lot of warnings with -Wshadow. No functional change.
2015-10-26space before punctuation;Jason McIntyre
2015-10-26Kill unused variable and function.Jeremie Courreges-Anglas
No functional change.
2015-10-25hms() returns a pointer to static storage, annotate the return type with "const"Jeremie Courreges-Anglas
No functional change.
2015-10-25Correctly print size_t/time_t.Jeremie Courreges-Anglas
No functional change.
2015-10-25Expand tildes in filenames passed to -i before checking whether or not theDarren Tucker
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@