summaryrefslogtreecommitdiff
path: root/bin
AgeCommit message (Expand)Author
2018-12-07format a pair of dashes as "\(em" rather than "--",Ingo Schwarze
2018-11-30in getopts, when a option is followed by a colon the parameter is mandatorysolene
2018-11-20Convert the pledge call to idiomatic format 'cause we love grep.Theo de Raadt
2018-11-20Fix the case where the recursion detection isn't reset when the command isMartijn van Duren
2018-11-17Use a very regular call pattern to pledge, so that we can continue toTheo de Raadt
2018-11-16Include "id" in pledge (for setres[ug]id, setgroups) if the shell isNicholas Marriott
2018-11-14mv imitates, but no longer uses, cp and rm to cross filesystems.Ted Unangst
2018-11-10remove mention of sbrk.Daniel Dickman
2018-10-26Fix memory leak in setDolp() where dp is NULL. Based on a diff frommiko
2018-10-24Fix some minor issues found by coverity.Martijn van Duren
2018-10-17- add an example to date(1) showing how to convert between timezonesJason McIntyre
2018-09-29Export the PWD and OLDPWD shell variables as per POSIX.Todd C. Miller
2018-09-28Contrary to the sh manual, it is possible to modify the PWD variableTodd C. Miller
2018-09-19If getcwd() fails in dinit(), the stat buffer 'swd' is usedTodd C. Miller
2018-09-19Fix last commit, I made one of the changes to the wrong line.Todd C. Miller
2018-09-19Compare against NULL, not '\0' for pointers. Quiets a warning onTodd C. Miller
2018-09-18Restore the xmalloc(), xcalloc(), xreallocarray() and xstrdup() changes.Todd C. Miller
2018-09-18backout last week of csh diffs. They are disasterously broken, on i386Theo de Raadt
2018-09-18remove macros for xmalloc(), xcalloc() & xreallocarray() and just name themiko
2018-09-17Replace any() with strchr(3).Martijn van Duren
2018-09-16Use uid_from_user(3) and gid_from_group(3) in utilities thatTodd C. Miller
2018-09-15strsave() is hard-fail strdup() so simplify and rename to xstrdup().miko
2018-09-13Fix warnings caused by user_from_uid() and group_from_gid() nowTodd C. Miller
2018-09-13Use the new libc uid_from_user() and gid_from_group() instead ofTodd C. Miller
2018-09-08blkfree() takes no action for NULL pointer so callers can avoid checking.miko
2018-09-07fgetln(3) -> getline(3); from Lauri Tirkkonen; ok millert@cheloha
2018-09-07Revert earlier revert.Martijn van Duren
2018-09-07Backout recent cp(1) changes; they broke texlive's mktexlsr(1)Stefan Sperling
2018-09-07Rename dne in copy_file to exists to be more consistent with the otherMartijn van Duren
2018-09-07Also verify a overwrite for the copy of a fifo, link and device node.Martijn van Duren
2018-09-07Move the question to allow a copy to its own function.Martijn van Duren
2018-09-07The combination of -v and -i and the deny of a copy would cause the copyMartijn van Duren
2018-08-25markup flag arguments; ok jmc@ schwarze@anton
2018-08-08unveil dev.db "r" for devname(), /dev "r", and in the non-sysctl caseTheo de Raadt
2018-08-05use .Fl macro for command line optionsIngo Schwarze
2018-08-05wrong macroIngo Schwarze
2018-07-25Free operand copies after parsing.cheloha
2018-07-23Don't cast malloc(3) size to u_int.cheloha
2018-07-23Point to glob in section 7 for the actual list of special characters insteadkn
2018-07-11Do for most running out of memory err() what was done for most runningKenneth R Westerback
2018-07-09ensure tape name and tape commands are not too long. passing too longTheo de Raadt
2018-07-09Second attempt of the recently backed out variable expansion fix. This time withanton
2018-07-08Back out previous. naddy and rpe found that it breaks the installer withTheo Buehler
2018-07-08Fix a bug related to variable expansion referencing multiple read-onlyanton
2018-06-25Count $MAILCHECK with the monotonic clock.cheloha
2018-06-19Revert previous, there were some unintended beviour changes.Martijn van Duren
2018-06-18Use shl_out->fd instead of STDOUT_FILENO in the call the setupterm().Todd C. Miller
2018-06-18Remove the parse_char_class and let regcomp determine if our bracketsMartijn van Duren
2018-06-18Add clear-screen emacs editing command, currently not bound to aTodd C. Miller
2018-06-15Remove references to BACKWARDS.Martijn van Duren