Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-03-16 | More "(<blah> *)0" -> NULL, avoiding any stdarg functions. | Kenneth R Westerback | |
Feedback millert@ kettenis@ | |||
2016-03-16 | - Check if user running spamlogd(8) has root privileges and if not then stop | mestre | |
program early - #define SPAMD_USER "_spamd" and use it on getpwnam(3) call - Set usage() as __dead void - Remove lint-style comments OK beck@ | |||
2016-03-10 | - add a define for "_spamd" user like others OpenBSD daemons; | Gleydson Soares | |
- check for root privileges, otherwise exit early with an appropriate status code and a formatted string; - be more specific with chroot()/chdir() checks. OK beck@ | |||
2016-02-29 | Print ssize_t with %zd; ok deraadt@ mmcc@ | Jeremie Courreges-Anglas | |
2016-02-29 | Kill unused variable. | Jeremie Courreges-Anglas | |
2016-02-05 | pledge(2) for talkd(8): | mestre | |
rpath: fopen(3) _PATH_UTMP in read mode wpath/cpath: fopen(3) full_tty in write mode (w), which implies O_CREAT inet/dns: the intervening hosts in the conversation may be remote, or not, but since we will never know beforehand then it'll always need inet and dns to resolve the hostnames ok jca@ and also discussed with tb@ | |||
2016-02-01 | Remove unused headers and sort the remaining | mestre | |
OK tb@ | |||
2016-01-24 | Delete remnants of grpsym cache setting during symbol search: it's done at | Philip Guenther | |
load time only nwo. Rename _dl_searchnum and lastlookup to _dl_grpsym_gen and grpsym_gen as they are generation numbers. Merge _dl_newsymsearch() into _dl_cache_grpsym_list_setup(). ok millert@ | |||
2016-01-24 | Lacking precise dependency-from-relocation tracking, a nodelete object | Philip Guenther | |
needs to lock down the entire load group, not just the specific object. problem report and ok sthen@ been in snaps for a week | |||
2016-01-08 | Zap extraneous SYNOPSIS sections. | Vadim Zhukov | |
The gettytab(5) and termcap(5) get FILES, others don't need anything. With input from & okay schwarze@ | |||
2016-01-04 | pledge(2) spamd-setup(8) | mestre | |
It needs these annotations, to at least run the operations next to them: stdio: malloc(3) rpath: open(2) inet: connect(2)/socket(2) proc: fork(2) exec: execvp(3) While here remove netinet/in.h since all we need is already in arpa/inet.h and sort the headers alphabetically OK beck@ | |||
2015-12-22 | assign pointers to NULL rather than 0 | mmcc | |
2015-12-22 | Remove a couple needless allocation casts. No binary change. | mmcc | |
2015-12-17 | s/failes/failed/g | mmcc | |
2015-12-12 | Remove NULL-checks before free(). ok tb@ | mmcc | |
2015-12-11 | pledge spamlogd - again from Ricardo Mestre <serial@helheim.mooo.com> - Thanks! | Bob Beck | |
2015-12-10 | tighten the pledge for spamd, from Ricardo Mestre <serial@helheim.mooo.com> | Bob Beck | |
this loads the tls certificate files pre-pledge then does the bulk of the tls setup goo pledged. | |||
2015-12-08 | Initially pledge spamd | Bob Beck | |
All the work done by Ricardo Mestre <serial@helheim.mooo.com> - Thanks. | |||
2015-12-06 | Simplify the relocation code for the ld.so bootstrap and static pie: track | Philip Guenther | |
just the dynamic tags are needed instead of reusing the generic elf_object_t structure. testing and feedback from miod@ ok kettenis@ | |||
2015-12-05 | adjust to newer tls_read/_write semantics. | Henning Brauer | |
quite involved, due to tls_read potentially needing to write and tls_write potentially needing to read (in the reneg case); that not fitting the spamd model too well - it needs to keep a little more state. help & ok bluhm & beck | |||
2015-12-02 | in response to EHLO, don't offer STARTTLS if we already completed the | Henning Brauer | |
STARTTLS dance. ok millert | |||
2015-12-02 | I misread the standard when adding TLS; clients are supposed to start over | Henning Brauer | |
and issue a new EHLO after STARTTLS. The misunderstaning seems to be common, so we'll still grok MAIL FROM right after the STARTTLS dance, as well as accepting a second EHLO. ok phessler beck millert | |||
2015-12-02 | fix error messages to say tls_write after tls_write and not tls_read... | Henning Brauer | |
with bluhm | |||
2015-12-01 | knock out duplicate rcs id; | Jason McIntyre | |
2015-12-01 | needs utf8.c from the ls tree also | Theo de Raadt | |
2015-12-01 | rpc.rstatd(8) and rpc.rusersd(8) don't run as user nobody for quite some time. | Tim van der Molen | |
2015-12-01 | Remove superfluous check; "Of course" deraadt@ | Tim van der Molen | |
2015-12-01 | Don't fall back to user nobody if _rusersd doesn't exist; "Of course!" deraadt@ | Tim van der Molen | |
2015-11-29 | Document that the pfdev check for 63 is /dev/fd/ only contains those nodes | Theo de Raadt | |
2015-11-26 | passwd no longer has an -l flag; ok deraadt | Jason McIntyre | |
2015-11-26 | pledge in login_radius(8). | YASUOKA Masahiko | |
ok deraadt | |||
2015-11-26 | rpc.yppasswdd goes to the bitbucket. | Theo de Raadt | |
(The story is that some people do use YP still as a libc -> non-file lookup mechanism; some of them with standard ypbind/ypserv, but more of them with ypbind/ypldap. That however does not justify these cruddy tools dealing with passwords, which are more likely to contain problems) | |||
2015-11-26 | Delete YP password related code. As a result, these can also be | Theo de Raadt | |
pledged. Keep an eye out for regressions, because they could be uncomfortable. ok beck semarie | |||
2015-11-25 | rename internally to ntalkd, after the binary; this way both | Jason McIntyre | |
"man talkd" and "man ntalkd" work; issue reported by sobrado; fix from schwarze | |||
2015-11-24 | missing pledge "getpw" | Theo de Raadt | |
2015-11-21 | zap the yppasswdd mlink, at ingo's behest (its original purpose being, | Jason McIntyre | |
obviously, to provide a drunk spell test); | |||
2015-11-21 | remove mlinks for aliases: ntalkd, mfs, updatedb | Jason McIntyre | |
ok schwarze | |||
2015-11-20 | Remove login_tis, no one should be using the TIS authentication | Todd C. Miller | |
server these days. | |||
2015-11-19 | Call syslog() if login_* pledge fails; OK deraadt@ | Todd C. Miller | |
2015-11-18 | use _shadow getpw functions. these utilities obviously deal with hashes. | Ted Unangst | |
2015-11-16 | Observe that FIOASYNC clearing for stdin is only done in the case where | Theo de Raadt | |
getty receives the fd from init, so hoist it upwards. Since revoke(2) is now allowed by pledge "rpath tty", the pledges can be hoisted much higher. ok millert semarie tedu guenther | |||
2015-11-16 | don't need to ifdef setproctitle | Ted Unangst | |
2015-11-15 | ldd(1) sets environment variable LD_TRACE_LOADED_OBJECTS to tell ld.so | Theo de Raadt | |
that it should show information about the program it loads, rather than run it. In that specific case, ld.so can pledge to "stdio rpath" to ensure that code path in ld.so has no bugs. Yes, a pledge in ld.so.... who'd have thought! ok guenther | |||
2015-11-15 | pledge "stdio rpath wpath cpath tmppath fattr" | Theo de Raadt | |
ok guenther | |||
2015-11-13 | 4-step pledge in a program noone really uses anymore. | Theo de Raadt | |
pledge "stdio inet dns proc exec" at startup. In the logging codepath, "stdio dns proc exec" after getpeername() drop to stdio proc exec(), before fork / execve Parent moving data out of the pipe only needs "stdio" | |||
2015-11-13 | _exit() in the child; as a result, must use syslog() directly. | Theo de Raadt | |
2015-11-06 | further PPP reduction, hint from sthen | Ted Unangst | |
2015-11-06 | remove ppplogin support. ok sthen | Ted Unangst | |
2015-11-06 | Fix unloading of load groups when the last reference wasn't on the | Philip Guenther | |
load_object but rather some descendent. Detect that case in _dl_unload_shlib() and switch to unloading the entire group. Based on partial analyses by Henri Kemppainen (duclare (at) guu.fi) and Peter Hajdu (peter.ferenc.hajdu (at) gmail.com) ok millert@ | |||
2015-11-02 | Remove duplicate declaration | Philip Guenther | |