History log of /openbsd-src/bin/csh/proc.c (Results 1 – 25 of 36)
Revision Date Author Comments
# 324a3c8c 28-Jul-2024 deraadt <deraadt@openbsd.org>

block SIGHUP in the same places where SIGCHLD is blocked to protect
the process lists, because the SIGHUP handler looks at them (and
it is very difficult to rewrite the that handler a different way)

block SIGHUP in the same places where SIGCHLD is blocked to protect
the process lists, because the SIGHUP handler looks at them (and
it is very difficult to rewrite the that handler a different way)
ok millert

show more ...


# 5b133f3f 08-Mar-2023 guenther <guenther@openbsd.org>

Delete obsolete /* ARGSUSED */ lint comments.

ok miod@ millert@


# 914fbe0c 30-Aug-2020 mortimer <mortimer@openbsd.org>

Fix multiple variable definitions to avoid errors with -fno-common.

ok millert@


# 3aaa63eb 28-Jun-2019 deraadt <deraadt@openbsd.org>

When system calls indicate an error they return -1, not some arbitrary
value < 0. errno is only updated in this case. Change all (most?)
callers of syscalls to follow this better, and let's see if

When system calls indicate an error they return -1, not some arbitrary
value < 0. errno is only updated in this case. Change all (most?)
callers of syscalls to follow this better, and let's see if this strictness
helps us in the future.

show more ...


# bcb7da30 08-Sep-2018 miko <miko@openbsd.org>

blkfree() takes no action for NULL pointer so callers can avoid checking.

ok jca@


# 833a4d71 22-Jul-2017 anton <anton@openbsd.org>

Use monotonic clock for the time command in csh and ksh.

From Scott Cheloha
ok tb@


# acdb3202 26-Dec-2015 mestre <mestre@openbsd.org>

Replace handrolled xfree() function by directly using free(3)

OK mmcc@


# b5ff2eaa 26-Oct-2015 naddy <naddy@openbsd.org>

miscellaneous cruft:
* remove lint
* unifdef S_IFLNK, S_ISFIFO, S_ISLNK, S_ISSOCK, O_APPEND
* remove 0, NOTUSED, notdef -- untouched since original import
* remove IIASA


# 4e21444b 26-Oct-2015 naddy <naddy@openbsd.org>

remove the profiling and debugging ifdefs; ok zhuk@


# a47b6461 18-Apr-2015 deraadt <deraadt@openbsd.org>

Convert many atoi() calls to strtonum(), adding range checks and failure
handling along the way.
Reviews by Brendan MacDonell, Jeremy Devenport, florian, doug, millert


# d29fd0a0 08-Feb-2015 tedu <tedu@openbsd.org>

delete tons more casts


# 5903a35e 08-Feb-2015 tedu <tedu@openbsd.org>

delete many more ptr_t casts


# 187b5e5f 13-Oct-2014 chl <chl@openbsd.org>

remove unused variable

ok guenther@


# 93079f38 14-Jul-2014 guenther <guenther@openbsd.org>

Instead of using a variable format string to change the field width,
use %*s and just put the width in a variable


# 5105d5e3 06-Nov-2011 guenther <guenther@openbsd.org>

union wait is dead, ancient history; stop using it

ok deraadt@


# 043fbe51 27-Oct-2009 deraadt <deraadt@openbsd.org>

rcsid[] and sccsid[] and copyright[] are essentially unmaintained (and
unmaintainable). these days, people use source. these id's do not provide
any benefit, and do hurt the small install media
(th

rcsid[] and sccsid[] and copyright[] are essentially unmaintained (and
unmaintainable). these days, people use source. these id's do not provide
any benefit, and do hurt the small install media
(the 33,000 line diff is essentially mechanical)
ok with the idea millert, ok dms

show more ...


# 345b1974 19-Sep-2003 millert <millert@openbsd.org>

When sanity checking signal numbers, error out on signal >= NSIG,
not > NSIG. This makes cvs give a nice error message for "kill
-NSIG 666" instead of EINVAL. From aaron@monkey.org.


# e757c91e 11-Jun-2003 deraadt <deraadt@openbsd.org>

de-register and ansify functions


# 29295d1c 02-Jun-2003 millert <millert@openbsd.org>

Remove the advertising clause in the UCB license which Berkeley
rescinded 22 July 1999. Proofed by myself and Theo.


# ac8842f6 07-Apr-2003 tedu <tedu@openbsd.org>

Strlcpy improvements. ok deraadt@


# 6a01f4ac 08-Jan-2003 deraadt <deraadt@openbsd.org>

bring in strlcpy and strlcat-like things for dealing with Char types,
this fixes at least 15 buffer overflows; some help from dhartmei.
Anyone want to go do the same in ksh, and help with some of the

bring in strlcpy and strlcat-like things for dealing with Char types,
this fixes at least 15 buffer overflows; some help from dhartmei.
Anyone want to go do the same in ksh, and help with some of the while
(*s++ = *p++) loops in here?

show more ...


# e7beb4a7 19-Feb-2002 millert <millert@openbsd.org>

We live in an ANSI C world. Remove lots of gratuitous #ifdef __STDC__ cruft.


# c72b5b24 16-Feb-2002 millert <millert@openbsd.org>

Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be don

Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.

show more ...


# 1e0c4da7 01-Dec-2001 deraadt <deraadt@openbsd.org>

KNF


# 44d35ad9 28-Jun-2000 millert <millert@openbsd.org>

Use strtol(), not atoi() when converting a decimal string to an integer.
That way we can catch typos when people say 'kill -HUP 65Q' and not send
the signal to process 65. Theo and myself.


12