Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-07-28 | use & to check if a bit is set in a flag; pointed out by clang | Florian Obser | |
OK schwarze | |||
2017-07-28 | Always calculate the hash value of the x509 cert in ssl_load_pkey(). | Alexander Bluhm | |
Check whether TLS server object is available before using it. With these fixes the ssl inspect regress test just fails and does not crash relayd. OK claudio@ | |||
2017-07-28 | Make the engine id is just binary data so make it uint8_t. | Florian Obser | |
clang pointed out that we tried to store 128 in a signed char. OK gerhard | |||
2017-07-28 | Use a format string for yyerror when printing a variable string. | Florian Obser | |
Pointed out by clang. (Not really a problem here since we control the string, but these things tend to get coppied around) ok gerhard@ | |||
2017-07-28 | pass the size of the dst buffer to strlcat, not the source; pointed | Florian Obser | |
out by clang OK kettenis | |||
2017-07-28 | remove unused variable; pointed out by clang | Florian Obser | |
OK kettenis | |||
2017-07-28 | remove unused variables; pointed out by clang | Florian Obser | |
OK kettenis | |||
2017-07-28 | One 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-28 | fix date | Ingo Schwarze | |
2017-07-28 | Do 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-28 | Show pane title in window list for windows with only one pane. | Nicholas Marriott | |
2017-07-28 | The read buffer size reported by the hardware can be up to 4095 | Alexander 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-28 | Don't call fatal from stop_sshd since it calls cleanup which calls stop_sshd | Darren Tucker | |
which will probably fail in the same way. Instead, just bail. Differentiate between sshd dying without cleanup and not shutting down. | |||
2017-07-28 | Implement -Oz as an alias for -Os here as well. | Mark Kettenis | |
ok aoyama@ | |||
2017-07-28 | Gcc3 does not have -fvisibility feature, so skip -fvisibility=hidden | Kenji Aoyama | |
flag when compiling with gcc3. ok espie@ | |||
2017-07-28 | Add an error argument to rtm_send() instead of rerolling it inside | Martin Pieuchot | |
rtdeletemsg(). ok bluhm@ | |||
2017-07-28 | provide missing prototypes | Marc Espie | |
this may actually result in bogus error messages, because int != char* okay jca@ | |||
2017-07-28 | make 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-28 | Allow SIOCGIFDESCR with "route" promise in preparation for pledging snmpd. | rob | |
ok deraadt@ benno@ | |||
2017-07-27 | Use 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-27 | teach clang about our syslog format attribute | Robert Nagy | |
ok deraadt@ | |||
2017-07-27 | push back -pie to the linker if -pie is specified to avoid an unused argument | Robert Nagy | |
warning ok kettenis@, deraadt@ | |||
2017-07-27 | Add prototypes for prototypes for __b64_pton and __b64_ntop; pointed | Florian 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-27 | An array is never NULL; pointed out by clang. | Florian Obser | |
OK deraadt | |||
2017-07-27 | uint32_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-27 | ensure protoiize man pages installed in all cases (until we come | Theo de Raadt | |
to a different decision later) ok espie | |||
2017-07-27 | smtpctl(8): Use an int to determine mode instead of __progname. | Sunil Nimmagadda | |
Ok millert@ gilles@ | |||
2017-07-27 | fix warnings from missing headers. | Marc Espie | |
okay deraadt@ | |||
2017-07-27 | Sort subdir, run getaddrinfo test, remove vax case. | Alexander Bluhm | |
2017-07-27 | Sort expected getaddrinfo output in inet4 inet6 order, then the | Alexander Bluhm | |
test passes. | |||
2017-07-27 | Use stdrup, to avoid clang whining about the length parameters being | Theo de Raadt | |
based upon input being used unsafely (they are safe) ok millert kettenis | |||
2017-07-27 | bad things can (and will) happen if a threaded program calls fork() and | Ted 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-03 | Use the space freed up by sparc and zaurus to import LLVM. | Pascal Stumpf | |
ok hackroom@ | |||
2017-07-27 | Initialize 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-27 | insist on -Oz in the *.mk file | Marc Espie | |
(note it's *after* the normal flags, so it will pre-empt a -O2) okay deraadt@ | |||
2017-07-27 | Mute clang's zeal for whining by providing prototypes. | Theo de Raadt | |
2017-07-27 | Fix all clang warnings in libc regress and cleanup some make files. | Alexander Bluhm | |
2017-07-27 | kp can be NULL (eg, stale utmp entry), so adjust the comment. | Jeremie Courreges-Anglas | |
Prompted by another diff from Klemens Nanni | |||
2017-07-27 | Heed the non-repeaters of GetBulkRequests and make sure to set | Gerhard Roth | |
error-status and error-index to zero in the response PDU. ok sthen@ | |||
2017-07-27 | Compile and test MPATH code. | Martin Pieuchot | |
2017-07-27 | Kill extra whitespace that snuck in. | Kenneth R Westerback | |
2017-07-27 | Fold add_direct_route(), add_default_route() and | Kenneth 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-27 | Work around for rttest8 that some times fail due to a reference count | Martin Pieuchot | |
race in the kernel. | |||
2017-07-27 | Mark the invalid memory location as volatile, otherwise clang would | Alexander Bluhm | |
optimize the access to it with an illegal instruction. But the tests needs a SIGSEGV, it would fail with SIGILL. | |||
2017-07-27 | Export RTAX_IFP, RTAX_IFA and RTAX_LABEL to userland in rtdeletemsg(). | Martin Pieuchot | |
Reduce differences with rtm_miss(). ok claudio@, bluhm@ | |||
2017-07-27 | For pf the anchor is a C string so ensure that the value passed in via ioctl | Claudio Jeker | |
is correctly NUL terminated. Reported by Ilja Van Sprundel With and OK bluhm@ | |||
2017-07-27 | Stop 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-27 | Assert that the KERNEL_LOCK() is held prior to call csignal() and | Martin Pieuchot | |
selwakeup(). ok bluhm@ | |||
2017-07-27 | Grab 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-27 | fcntl(F_DUPFD) needs an argument. Otherwise it fails with EINVAL | Alexander Bluhm | |
when compiled with clang. |