tangled
alpha
login
or
join now
jcs.org
/
openbsd-src
0
fork
atom
jcs's openbsd hax
openbsd
0
fork
atom
overview
issues
pulls
pipelines
openbsd-src
/
bin
/
at
jcs
30 folders
2 files
cat
bump posix spec 2008 -> 2024;
2 years ago
chio
remove unused var
3 years ago
chmod
remove references to fs.posix.setuid; ok tedu
11 months ago
cp
Stop using MAXBSIZE to eliminate sys/param.h including (which injects a ton of namespace intrusion). Create local sizes, and refactor some code along the way. ok millert
4 years ago
csh
Now that we have dup2(), csh can use it instead of close()+dup(). Also, as used here, dup/dup2 will clear the close-on-exec flag, so delete the superfluous fcntl(F_SETFD,0) calls
2 years ago
date
gmtime(3) / locatime(3) can fail when timestamps are way off.
2 years ago
dd
Rewrite bytes/sec calculation using fixed point math.
2 years ago
df
Report the inodes statistics in 'df -hi' in a scaled manner
2 months ago
domainname
- make usage() static and __dead - while here switch main to return instead of exit(3)
10 years ago
echo
Delete obsolete /* ARGSUSED */ lint comments.
3 years ago
ed
remove unneeded includes; ok deraadt@
3 months ago
expr
Denote multiple arguments with 'arg ...' not 'args'
3 years ago
hostname
Since netstart r1.208 (2020), it no longer applies /etc/myname
2 years ago
kill
Combine three almost identical synopsis lines into a single one, and three almost identical entries in the options list likewise, bcause all three have identical meaning and almost identical syntax. While here, call the list of signals in signal(3) "complete" rather than "more complete", because that's also true, a stronger statement, and more concise. OK jmc@
11 months ago
ksh
Correct POSIX ISBN. 1-55937-255-9 was mistakenly changed to 1-55937-266-9 when the page was converted to mdoc in rev 1.15 ok millert@
3 months ago
ln
More correction of section 3 layout. directory->opendir, fts->fts_open, getcap->cgetent. pwcache->user_from_uid. And then repair references. ok jmc
6 years ago
ls
ls(1): use correct buffer size for ngroup.
2 months ago
md5
md5(1): avoid incompatible function pointer casts
8 months ago
mkdir
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.
6 years ago
mt
remove prototypes with no matching function and externs with no var partly checked by millert@
2 years ago
mv
remove duplicate includes and license; feedback and ok miod@
1 year ago
pax
Print a message when failing to write tar, ustar and pax (extended) headers.
9 months ago
ps
Move the proc.ps_flags PS_* bits that are only changed by sys_execve() and not tested (by name) in userland to a new ps_iflags member. This frees up some ps_flags bits for other uses.
7 months ago
pwd
Change all tame callers to namechange to pledge(2).
10 years ago
rm
use warnc(3) instead of handrolling it; OK florian
11 months ago
rmdir
Fix two bugs that naddy@ reported on tech@: 1. POSIX requires that "mkdir dir; ln -s dir lnk; rmdir lnk/" removes "dir" because rmdir(1) is required to behave like rmdir(2) in this respect and that requires resolving the pathname, and "Base Definitions 4.16 Pathname Resolution" specifies that pathname resolution of "lnk" is complete, while pathname resolution of "lnk/" is not complete, but it resolves to "dir". 2. rmdir -p on an absolute path should not fail with the spurious error "rmdir: : No such file or directory".
10 months ago
sleep
rewrite was in Tahoe ok cheloha@
3 years ago
stty
remove prototypes with no matching function and externs with no var partly checked by millert@
2 years ago
sync
Add, correct, and improve HISTORY sections. From Sevan Janiyan <venture37 at geeklan dot co dot uk>. Verified using http://minnie.tuhs.org/.
9 years ago
test
Use timespeccmp() and st_mtim intead of comparing st_mtime.
1 year ago
Makefile
unlink systrace from the build. pledge is the glorious future that awaits. the rest of systrace to be deleted in a serious of followup commits. ok from larger openbsd developer community
10 years ago
Makefile.inc
using COPTS is probably better than CFLAGS
11 years ago