summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-07-28pass the size of the dst buffer to strlcat, not the source; pointedFlorian Obser
out by clang OK kettenis
2017-07-28remove unused variable; pointed out by clangFlorian Obser
OK kettenis
2017-07-28remove unused variables; pointed out by clangFlorian Obser
OK kettenis
2017-07-28One negation is enough; pointed out by clang.Florian Obser
OK gsoares who says that he forgot about the same diff for months and that millert@ had OK'ed it.
2017-07-28fix dateIngo Schwarze
2017-07-28Do not test .Xr here. It is not what this directory should focus on,Ingo Schwarze
and it is causing too much trouble in -portable.
2017-07-28Show pane title in window list for windows with only one pane.Nicholas Marriott
2017-07-28The read buffer size reported by the hardware can be up to 4095Alexander Bluhm
bytes. This would exceed the mbuf cluster size. Use larger clusters in this case. bug report Ilja Van Sprundel; OK deraadt@ stsp@
2017-07-28Don't call fatal from stop_sshd since it calls cleanup which calls stop_sshdDarren Tucker
which will probably fail in the same way. Instead, just bail. Differentiate between sshd dying without cleanup and not shutting down.
2017-07-28Implement -Oz as an alias for -Os here as well.Mark Kettenis
ok aoyama@
2017-07-28Gcc3 does not have -fvisibility feature, so skip -fvisibility=hiddenKenji Aoyama
flag when compiling with gcc3. ok espie@
2017-07-28Add an error argument to rtm_send() instead of rerolling it insideMartin Pieuchot
rtdeletemsg(). ok bluhm@
2017-07-28provide missing prototypesMarc Espie
this may actually result in bogus error messages, because int != char* okay jca@
2017-07-28make warns about POST_INSTALL being empty.Marc Espie
other similar makefiles define POST_INSTALL = : so even the GNU guys are aware this might be non standard. fix it. okay krw@ kettenis@
2017-07-28Allow SIOCGIFDESCR with "route" promise in preparation for pledging snmpd.rob
ok deraadt@ benno@
2017-07-27Use variable edge masks (again).Ulf Brosziewski
The properties of edge areas will be more consistent even though in some cases the driver remains in the dark about the exact coordinate limits.
2017-07-27teach clang about our syslog format attributeRobert Nagy
ok deraadt@
2017-07-27push back -pie to the linker if -pie is specified to avoid an unused argumentRobert Nagy
warning ok kettenis@, deraadt@
2017-07-27Add prototypes for prototypes for __b64_pton and __b64_ntop; pointedFlorian Obser
out by clang. This is a local diff we have to carry so config.h.in is good a place as any and it's included everywhere. OK sthen
2017-07-27An array is never NULL; pointed out by clang.Florian Obser
OK deraadt
2017-07-27uint32_t is never < 0; pointed out by clang.Florian Obser
While we originally get a short passed from the kernel, it's probably better for debugging purposes to show what we are actually having which is a uin32_t hence the %u format. OK deraadt
2017-07-27ensure protoiize man pages installed in all cases (until we comeTheo de Raadt
to a different decision later) ok espie
2017-07-27smtpctl(8): Use an int to determine mode instead of __progname.Sunil Nimmagadda
Ok millert@ gilles@
2017-07-27fix warnings from missing headers.Marc Espie
okay deraadt@
2017-07-27Sort subdir, run getaddrinfo test, remove vax case.Alexander Bluhm
2017-07-27Sort expected getaddrinfo output in inet4 inet6 order, then theAlexander Bluhm
test passes.
2017-07-27Use stdrup, to avoid clang whining about the length parameters beingTheo de Raadt
based upon input being used unsafely (they are safe) ok millert kettenis
2017-07-27bad things can (and will) happen if a threaded program calls fork() andTed Unangst
then strays off the path to exec(). one common manifestation of this problem occurs in pthread_join(), so we can add a little check there. first person to hit this in real life gets to change the error message.
2016-09-03Use the space freed up by sparc and zaurus to import LLVM.Pascal Stumpf
ok hackroom@
2017-07-27Initialize pools with correct sizes.Martin Pieuchot
This was safe because `struct drm_i915_gem_object' is bigger than the other two. ok kettenis@
2017-07-27insist on -Oz in the *.mk fileMarc Espie
(note it's *after* the normal flags, so it will pre-empt a -O2) okay deraadt@
2017-07-27Mute clang's zeal for whining by providing prototypes.Theo de Raadt
2017-07-27Fix all clang warnings in libc regress and cleanup some make files.Alexander Bluhm
2017-07-27kp can be NULL (eg, stale utmp entry), so adjust the comment.Jeremie Courreges-Anglas
Prompted by another diff from Klemens Nanni
2017-07-27Heed the non-repeaters of GetBulkRequests and make sure to setGerhard Roth
error-status and error-index to zero in the response PDU. ok sthen@
2017-07-27Compile and test MPATH code.Martin Pieuchot
2017-07-27Kill extra whitespace that snuck in.Kenneth R Westerback
2017-07-27Fold add_direct_route(), add_default_route() andKenneth R Westerback
add_classless_static_routes() into set_routes(). One less layer of abstraction and all five add_route() invocations now in one place. Clearly comment the route(8) command equivalents for each add_route() invocation.
2017-07-27Work around for rttest8 that some times fail due to a reference countMartin Pieuchot
race in the kernel.
2017-07-27Mark the invalid memory location as volatile, otherwise clang wouldAlexander Bluhm
optimize the access to it with an illegal instruction. But the tests needs a SIGSEGV, it would fail with SIGILL.
2017-07-27Export RTAX_IFP, RTAX_IFA and RTAX_LABEL to userland in rtdeletemsg().Martin Pieuchot
Reduce differences with rtm_miss(). ok claudio@, bluhm@
2017-07-27For pf the anchor is a C string so ensure that the value passed in via ioctlClaudio Jeker
is correctly NUL terminated. Reported by Ilja Van Sprundel With and OK bluhm@
2017-07-27Stop doing an splsoftnet()/splx() dance inside the NET_LOCK().Martin Pieuchot
This will allow us to not carry a returned value when entering a critical section. ok bluhm@, visa@
2017-07-27Assert that the KERNEL_LOCK() is held prior to call csignal() andMartin Pieuchot
selwakeup(). ok bluhm@
2017-07-27Grab the KERNEL_LOCK() before calling sorwakeup().Martin Pieuchot
In the forwarding path, pf_test() is executed w/o KERNEL_LOCK() and in case of divert end up calling sowakup(). However selwakup() and csignal() are not yet ready to be executed w/o KERNEL_LOCK(). ok bluhm@
2017-07-27fcntl(F_DUPFD) needs an argument. Otherwise it fails with EINVALAlexander Bluhm
when compiled with clang.
2017-07-27Add pane_at_left/right/top/bottom formats, from Amos Bird.Nicholas Marriott
2017-07-27don't double install ld, some people have already been lost tryingMarc Espie
to get out of these makefiles! okay kettenis@
2017-07-27The -d flag prevents redirection of stdout (not stdin) and stderrTheo Buehler
to /dev/null. noticed by Matthew <chohag () jtan ! com>
2017-07-27SEQ16_* macros weren't able to compare properly if one of the sequences isYASUOKA Masahiko
wrapped around. Fix them to cast the proper width of integer when comparison. found goda@