Commits
- Commit:
f59823bb564ec56fae2ab0b57805418d866d96c4
- From:
- smytht <smytht@users.noreply.github.com>
- Via:
- GitHub <noreply@github.com>
- Date:
Version Bump for release 1.2.2
- Commit:
eb100e28639f52a21d42487a19bd814018fd9ec7
- From:
- smytht <smytht@users.noreply.github.com>
- Via:
- GitHub <noreply@github.com>
- Date:
Update README.md rollback explict shell prompt inclusion as it was counter productive
- Commit:
741b54eca9d01739d17beea6894e956706be4849
- From:
- smytht <smytht@users.noreply.github.com>
- Via:
- GitHub <noreply@github.com>
- Date:
Update README.md ahead of release
- Commit:
1bcd050e149bc20ed613376c13ff72a8ef8ec8b6
- From:
- smytht <smytht@users.noreply.github.com>
- Via:
- GitHub <noreply@github.com>
- Date:
minor corrections to nsh.8 before release
mandoc -Tlint
- Commit:
e574499cef8eb40e8e4ce648b147b980e5c2ef7f
- From:
- smytht <smytht@users.noreply.github.com>
- Via:
- GitHub <noreply@github.com>
- Date:
update nsh.8 dates and versions in advance of release
- Commit:
21b1dfdbf54e96ff9cb8cb9a05f38ac2d344dbaa
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add a 'make static' target which builds statically linked binaries
The goal is to make it easier to build the -static flavour of nsh in
the OpenBSD ports tree.
- Commit:
44b5f33be4167e1a0e293c21158bbf235acb1a21
- From:
- smytht <smytht@users.noreply.github.com>
- Via:
- GitHub <noreply@github.com>
- Date:
su is an alias of enable for convenience
su should not be displayed in help / context help in nsh
su will work but not be suggested to user during tab completion
- Commit:
0d765e280f916ebcaedc263fb41e4f388b35ecc8
- From:
- smytht <smytht@users.noreply.github.com>
- Via:
- GitHub <noreply@github.com>
- Date:
Update nsh.8 to reflect and dates version changes prior to new release
- Commit:
ae3b5241d9476f2b9fe03e7731369255d390736b
- From:
- smytht <smytht@users.noreply.github.com>
- Via:
- GitHub <noreply@github.com>
- Date:
Update extensive-nsh-openbsd-integrate.sh
remove hostname.if and mygate on Integration script run per comment above those lines
and
add commands to backup the
hostname
and hosts file configuration
- Commit:
65acc1ab450b8a0ccc3dd01cb8278dac3ac15fa0
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix adding blackhole and reject routes; a gateway is required
Fixes an invalid route message error during nsh -i at boot time:
% cmd: route (line 49) margv [route 224.0.0.0/4 127.0.0.1 iface nompath reject]
% RTM_ADD: Add Route: len 128, table 0, pid: 0, seq 1, errno 0, flags:<UP,REJECT,STATIC>
% locks: inits:
% sockaddrs: <DST,NETMASK>
224.0.0.0 240.0.0.0
% ip_route: rtmsg: Invalid argument
test + ok Tom
- Commit:
1ecf319919277305fea3d35396c316fc23e7f3db
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
create save.sh during "make install" if it is missing
- Commit:
45a20fd0427c384c2962123c585d8dadd87f41de
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix whitespace
- Commit:
ed5e527151cf142e2a392c68bd700200143947bb
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
improve wording of integration script's introductory message
- Commit:
ff56724257c93870295ed0b02c69b477d2bca0ad
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix typos in integration script's introductory warning message
- Commit:
da2af3ac496403f12598bebd4b3474f4bad787e9
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
silence ifconfig errors related to carp demotion at boot time
This happens when nsh is started by /etc/rc.d/nsh during boot.
The /etc/rc script starts package scripts with carp-interlock already
enabled, and both ifconfig and nsh would attempt to reset the carp
demotion counter. Generally, this is harmless, apart from an error
message displayed by ifconfig which might mislead users into assuming
there was a problem:
starting package daemons: nsh.
ifconfig: carp: SIOCSIFGATTR: Invalid argument
To avoid this issue, nsh can check whether the demotion counter has
already been set to the desired level and only change the counter if
changing it is indeed required.
test + ok Tom
- Commit:
ddce9e236b5cbab80ad195840f427d4e19f39b97
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
avoid use of uninitialized variable 'sin'
found by codechecker
- Commit:
76ca4378889d6b4f0a57484f499ef07aabc7e968
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
call getprogname(3) instead of reading __progname which is reserved
found by codechecker
- Commit:
0afff63a215ca55111f18c1d86ef86b7673cca8e
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
ifmedia words are 64 bit wide on openbsd
found by codechecker
- Commit:
84d6fbcbec1d1485b243531411bc4d8ab071fafb
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
handle SIGWINCH in a signal-safe way
The setwinsize() function calls an ioctl which is not async-signal-safe.
Use a safe signal handler and change window size in command loop instead.
found by codechecker
- Commit:
3ce23c08d0d60bb7cba4f349d1a95b893d6b8e0b
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
left-shift by 32 bits needs to use unsigned long long
found by codechecker
- Commit:
ed1844176011f28206a6be689f50b68a591770b1
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
need to free vis on error in mbs2ws()
found by codechecker
- Commit:
c550e428fb249028df8f7d2d39a06b3a06cc77eb
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
plug file descriptor leak in who.c
found by codechecker
- Commit:
50e10c0364479a0d46c3c4958d2f99ed6c412aa6
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
handle edge-case of zero no-commands in complete_nocmd(); should not happen
found by codechecker
- Commit:
7988c7a7cafa0919e92d4885f120536c80021c47
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
must initialize ndp.c variable 'nbi' in case for-loop never runs
found by codechecker
- Commit:
cba0363734ed7319728d8219f00bdda543709521
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
in growwgdata, preserve original pointer during realloc for freeing on error
found by codechecker