summaryrefslogtreecommitdiffstats
path: root/bin (follow)
Commit message (Expand)AuthorAgeFilesLines
* in getopts, when a option is followed by a colon the parameter is mandatorysolene2018-11-301-3/+3
* Convert the pledge call to idiomatic format 'cause we love grep.deraadt2018-11-201-3/+4
* Fix the case where the recursion detection isn't reset when the command ismartijn2018-11-203-9/+21
* Use a very regular call pattern to pledge, so that we can continue toderaadt2018-11-171-10/+11
* Include "id" in pledge (for setres[ug]id, setgroups) if the shell isnicm2018-11-162-5/+18
* mv imitates, but no longer uses, cp and rm to cross filesystems.tedu2018-11-141-3/+3
* remove mention of sbrk.daniel2018-11-101-5/+3
* Fix memory leak in setDolp() where dp is NULL. Based on a diff frommiko2018-10-261-7/+3
* Fix some minor issues found by coverity.martijn2018-10-246-17/+15
* - add an example to date(1) showing how to convert between timezonesjmc2018-10-171-4/+12
* Export the PWD and OLDPWD shell variables as per POSIX.millert2018-09-291-2/+2
* Contrary to the sh manual, it is possible to modify the PWD variablemillert2018-09-281-3/+2
* If getcwd() fails in dinit(), the stat buffer 'swd' is usedmillert2018-09-191-30/+30
* Fix last commit, I made one of the changes to the wrong line.millert2018-09-191-3/+3
* Compare against NULL, not '\0' for pointers. Quiets a warning onmillert2018-09-191-3/+3
* Restore the xmalloc(), xcalloc(), xreallocarray() and xstrdup() changes.millert2018-09-186-35/+30
* backout last week of csh diffs. They are disasterously broken, on i386deraadt2018-09-1813-60/+74
* remove macros for xmalloc(), xcalloc() & xreallocarray() and just name themiko2018-09-183-13/+9
* Replace any() with strchr(3).martijn2018-09-179-49/+40
* Use uid_from_user(3) and gid_from_group(3) in utilities thatmillert2018-09-162-13/+7
* strsave() is hard-fail strdup() so simplify and rename to xstrdup().miko2018-09-154-15/+14
* Fix warnings caused by user_from_uid() and group_from_gid() nowmillert2018-09-131-2/+3
* Use the new libc uid_from_user() and gid_from_group() instead ofmillert2018-09-137-312/+25
* blkfree() takes no action for NULL pointer so callers can avoid checking.miko2018-09-086-29/+24
* fgetln(3) -> getline(3); from Lauri Tirkkonen; ok millert@cheloha2018-09-071-21/+20
* Revert earlier revert.martijn2018-09-072-30/+53
* Backout recent cp(1) changes; they broke texlive's mktexlsr(1)stsp2018-09-072-53/+30
* Rename dne in copy_file to exists to be more consistent with the othermartijn2018-09-072-9/+9
* Also verify a overwrite for the copy of a fifo, link and device node.martijn2018-09-072-7/+14
* Move the question to allow a copy to its own function.martijn2018-09-071-13/+26
* The combination of -v and -i and the deny of a copy would cause the copymartijn2018-09-072-10/+13
* markup flag arguments; ok jmc@ schwarze@anton2018-08-251-16/+26
* unveil dev.db "r" for devname(), /dev "r", and in the non-sysctl casederaadt2018-08-081-1/+14
* use .Fl macro for command line optionsschwarze2018-08-051-3/+3
* wrong macroschwarze2018-08-051-3/+3
* Free operand copies after parsing.cheloha2018-07-251-8/+9
* Don't cast malloc(3) size to u_int.cheloha2018-07-231-5/+9
* Point to glob in section 7 for the actual list of special characters insteadkn2018-07-232-8/+8
* Do for most running out of memory err() what was done for most runningkrw2018-07-111-3/+3
* ensure tape name and tape commands are not too long. passing too longderaadt2018-07-092-6/+17
* Second attempt of the recently backed out variable expansion fix. This time withanton2018-07-091-4/+35
* Back out previous. naddy and rpe found that it breaks the installer withtb2018-07-081-35/+4
* Fix a bug related to variable expansion referencing multiple read-onlyanton2018-07-081-4/+35
* Count $MAILCHECK with the monotonic clock.cheloha2018-06-251-6/+11
* Revert previous, there were some unintended beviour changes.martijn2018-06-191-3/+27
* Use shl_out->fd instead of STDOUT_FILENO in the call the setupterm().millert2018-06-181-2/+2
* Remove the parse_char_class and let regcomp determine if our bracketsmartijn2018-06-181-27/+3
* Add clear-screen emacs editing command, currently not bound to amillert2018-06-187-17/+72
* Remove references to BACKWARDS.martijn2018-06-152-6/+2
* Make sure we always return more than a single '!' in get_shell_command.martijn2018-06-151-5/+5