- Queries
- All Stories
- Search
- Advanced Search
- Transactions
- Transaction Logs
Advanced Search
Jan 14 2018
Jan 13 2018
Jan 11 2018
Jan 6 2018
Jan 5 2018
Jan 4 2018
It is already possible to disable swapping out kernel stacks via sysctl vm.swap_enabled (which has a wrong description) and configure it via sysctls vm.swap_idle_threshold1 and vm.swap_idle_threshold2. What is the problem you are trying to solve?
For a long time, "swapping out" a process has only made its U area (later, only the kernel stack) pageable. This is a few pages per thread. Therefore, comparing vmspace_resident_count does not seem to make much sense.
As of rS303524 (July 2016), _WITH_GETLINE is no longer checked by stdio.h. Therefore, there are two possibilities:
Jan 1 2018
Dec 31 2017
Dec 30 2017
Dec 29 2017
Looks useful.
Dec 27 2017
OK for bin/sh tests and man pages.
Dec 26 2017
Dec 24 2017
Dec 23 2017
Dec 10 2017
It looks like daemon()'s chdir and close actions are performed just before returning successfully; therefore, capability mode code could also call daemon(1, 1) and perform the chdir and/or close actions after it, either open-coded or calling new function(s).
Dec 5 2017
Sorry for the delay.
Dec 3 2017
Dec 2 2017
Nov 26 2017
This will leave the calls to /usr/bin/fortune in share/skel/dot.login and share/skel/dot.profile referring to something that does not and will not exist (the port will install as /usr/local/bin/fortune).
Nov 22 2017
Accepted with a minor change to the man page.
Nov 12 2017
Nov 11 2017
Nov 10 2017
Hmm, looking again, the idea of continuing is good, but printing diagnostics without affecting the exit status is usually not POSIX-compliant. To fix this, the global variable exitstatus can be set to 1. Note that there are existing places in function.c that do this wrong (which need not be fixed for this review).
Nov 3 2017
An alternative implementation would write to a temporary file, then rename onto the destination once stdin closes. This is how ksh93's >;pathname redirection works (this does not mean I think this definitely should be done like that, or that the shell is the best place to implement this feature).
Oct 31 2017
Note that all my comments on the cpuset_parselist() implementation also apply to the original version in cpuset.c; therefore, they could be fixed in a separate commit.
Oct 26 2017
Oct 22 2017
Oct 15 2017
Oct 6 2017
In D10363#260440, @theraven wrote:This probably means that we no longer need to expose _DefaultRuneLocale in the header.
Oct 1 2017
Looks good except for the missing DESTDIR error check.
Sep 26 2017
Sep 18 2017
As a side effect, this change brings in recent updates to the man page (this is good).
Aug 16 2017
In D12006#249341, @sevan wrote:@jilles best to just revert the commit & leave it as-is?
Aug 13 2017
Aug 12 2017
This seems a useful hint.
Looks reasonable as far as I can see.
This is internally consistent, but does not match what POSIX says. POSIX says only <sys/shm.h> is required and the permissions should be coded using octal constants (yuck). However, if a programmer wants to use S_IRUSR and the like, that is fine. POSIX defines the exact values these constants should have. I don't think POSIX needs to be followed exactly in this.
Note the paragraph below starting with "The above declaration of struct sigaction is not literal.". The man page is inconsistent now.
Aug 9 2017
The code change by itself looks good (including all the reasoning about which extensions POSIX permits) but I would prefer not to encourage more use of expr(1) :(
Jul 28 2017
As a side effect, this change allows options and operands to be mixed in GNU style. Either this should be disabled by prepending "+" to the optstring or this should be mentioned in the commit message.
Jul 18 2017
Jul 1 2017
Jun 30 2017
Jun 25 2017
Jun 23 2017
I looked at what NetBSD and GNU expr do, and they vary in what they accept.
Jun 22 2017
Jun 11 2017
Jun 8 2017
This looks similar to what I did manually to make a -DNO_CLEAN build work.
Jun 7 2017
Jun 6 2017
Jun 4 2017
The test plan should also include running the Kyua/ATF tests.
Jun 3 2017
If at all possible, I think it is best to avoid placing the traced process in a new process group, since this breaks things like terminal access control (the traced process will be in a background process group as far as the tty is concerned). Given that the new process group is removed, forwarding signals may make sense (but will duplicate signals if they were originally sent to the process group).