summaryrefslogtreecommitdiff
path: root/usr.bin/mesg/mesg.c
AgeCommit message (Expand)Author
2021-07-12Change the error reporting pattern throughout the tree when unveilBob Beck
2019-06-28When system calls indicate an error they return -1, not some arbitraryTheo de Raadt
2018-08-11actually s/unveil/pledge on err(3), I missed it on previous commit.Ricardo Mestre
2018-08-11this one was my fault, when an error occurrs on mesg(1) it must exit with errorRicardo Mestre
2018-08-03pledge() a little later, after getopt operation, when we know tty name.Theo de Raadt
2016-07-07biff, mesg, vi: only consider ACCESSPERMS for setting tty mode.Sebastien Marie
2016-01-25fix exit status on pledge(2) failure.Gleydson Soares
2015-10-12these callers of ttyname() no longer need to pledge "tty"Theo de Raadt
2015-10-12same thing as biff, pledge "stdio rpath fattr tty"Theo de Raadt
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
2007-03-15sort options; from Igor SobradoJason McIntyre
2003-06-10mostly ansi cleanup; pval okTheo de Raadt
2003-06-03Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
1997-07-311) minor typo in manpageflipk
1997-01-15getopt(3) returns -1 when out of args, not EOF, whee!Todd C. Miller
1996-06-26rcsidTheo de Raadt
1995-10-18initial import of NetBSD treeTheo de Raadt