Commits
- Commit:
19bcd64795f4a5b5c86abafd112cfaa87cb614bb
- 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
- 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
- Commit:
fd571e3ef4998485f4c5e94aa4615138c013dd49
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
preserve original pointer during realloc and free on error
found by codechecker
- Commit:
2a3c7d42fe7fd7fa34f4567b01a424ca9bdfa96b
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
preserve original pointer during realloc() and free on error return
found by codechecker
- Commit:
d67e0bc072ee69d887db85a6d9173b69f3b4b0d6
- From:
- smytht <smytht@users.noreply.github.com>
- Via:
- GitHub <noreply@github.com>
- Date:
Update README.md improve formatting and spacing of NSH docs
- Commit:
ad9258adf731c2a392732473cbe81c6878809007
- From:
- smytht <smytht@users.noreply.github.com>
- Via:
- GitHub <noreply@github.com>
- Date:
Update README.md with latest manual and recent youtube videos on NSH
- Commit:
ef7d91bd78dd72ee4d02390d7115155a9ef0c084
- From:
- smytht <smytht@users.noreply.github.com>
- Via:
- GitHub <noreply@github.com>
- Date:
Update README.md
Update with rendering from latest manual page
- Commit:
4ed090688671ef90c0ba6893ea68f23816cc56d2
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
allow the interface command to work within an interface context
ok Tom
- Commit:
6eaf41b8f48d8bf640fc5fee0283fecad5784b7b
- From:
- smytht <smytht@users.noreply.github.com>
- Via:
- GitHub <noreply@github.com>
- Date:
Merge pull request #154 from smytht/exclamation-mark-change
! without arguments should not fork a new shell
- Commit:
0fa6b08d3c709fc60f694dc892e4ac47ecce9180
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
reword an informative warning message such that it sounds less like an error
- Commit:
7c9055e02300c8bb057688f932f94e8c08231031
- From:
- smytht <smytht@users.noreply.github.com>
- Via:
- GitHub <noreply@github.com>
- Date:
Update commands.c
fix typo in exit command in bridge commands struct