| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
`data' parameter is not ignored; if non-zero, it specifies a signal
number to be delivered to the traced process.
MFC after: 1 day
|
|
|
|
|
|
|
|
| |
PR: kern/42426, standards/54223
Obtained from: NetBSD
Reviewed by: jake, alc
Approved by: jake (mentor)
MFC after: 2 weeks
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- All those diffs to syscalls.master for each architecture *are*
necessary. This needed clarification; the stub code generation for
mlockall() was disabled, which would prevent applications from
linking to this API (suggested by mux)
- Giant has been quoshed. It is no longer held by the code, as
the required locking has been pushed down within vm_map.c.
- Callers must specify VM_MAP_WIRE_HOLESOK or VM_MAP_WIRE_NOHOLES
to express their intention explicitly.
- Inspected at the vmstat, top and vm pager sysctl stats level.
Paging-in activity is occurring correctly, using a test harness.
- The RES size for a process may appear to be greater than its SIZE.
This is believed to be due to mappings of the same shared library
page being wired twice. Further exploration is needed.
- Believed to back out of allocations and locks correctly
(tested with WITNESS, MUTEX_PROFILING, INVARIANTS and DIAGNOSTIC).
PR: kern/43426, standards/54223
Reviewed by: jake, alc
Approved by: jake (mentor)
MFC after: 2 weeks
|
|
|
|
| |
Reorganize historic #ifdef section
|
|
|
|
| |
case-sensitive, and MSKANJI does not work.
|
| |
|
|
|
|
| |
one occurrence of GB 18030 should have been 11383.
|
| |
|
| |
|
|
|
|
| |
and to mbsinit(3) while I'm at it.
|
|
|
|
| |
need to be fleshed out a little, especially big5(5).
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
didn't provide a constant for one of them (non-IEEE denormal trap),
in an attempt to not support it probably, it's not we are left with
the lower 5 bits.
o Properly mask the passed or returned fp_except_t. Not doing so
causes instant core dumps by trying to write an invalid value to
ar.fpsr. Now that we're masking, stop using exclusive-or to invert
bits.
This fixes the illegal instruction fault encountered when building
mozilla.
|
|
|
|
| |
Reviewed by: marcel
|
|
|
|
|
|
| |
PR: standards/54634
Reviewed by: das
Approved by: jake (mentor)
|
|
|
|
| |
anymore. This also fixes long line bugs caused by the lengthy URLs :-)
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
o fix the len argument of memcmp(3) to be the size of the node field
of the uuid structure, not the size of the uuid structure itself.
We're comparing the node fields...
o uuid_compare(3) is specified to return -1, 0 or 1, depending on
the outcome of the comparison. memcmp(3) returns the difference
between the first differing bytes. Hence, we cannot ever return
the return value of memcmp(3) as-is.
PR: standards/55370
Submitted by: Konstantin Oznobihin <bork@rsu.ru>
|
| |
|
|
|
|
|
| |
and to simplify things. This is only valid until we start supporting
state-dependent encodings.
|
|
|
|
| |
as a wrapper around wcsrtombs().
|
| |
|
|
|
|
|
|
|
|
|
| |
wctob() in terms of wcrtomb() instead of sputrune(). There should be
no functional differences, but there may be a small performance hit
because we make an extra function call.
The aim here is to have as few functions as possible calling
s{get,put}rune() to make it easier to remove them in the future.
|
|
|
|
| |
can return EALREADY for a socket in blocking mode as well.
|
|
|
|
|
| |
Submitted by: Brian Buchanan of nCircle, Inc.
Tested on: i386 and sparc64
|
|
|
|
|
|
|
|
|
| |
Also change "Auto mode" to use a "special" value
instead of 0, and define and document it.
I had thought libpthread had already been switched to use auto mode but
it appears that patch hasn't been committed yet.
Discussed with: Davidxu
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
that we can flush the register stack prior to entering the kernel.
This avoids having dirty registers and saves us from having to
manually write them to the backing store from within the kernel.
In that respect, flushing the RSE is both functionally required as
well as performance optimal.
On average we had 18 dirty registers when getcontext(2) was called
from libthr. Since libthr does not switch back to a context created
by getcontext(2), not having dealt with the dirty registers was
harmless.
|
|
|
|
|
|
|
| |
on the corresponding .proc directive, or the .endp must not have a
name at all.
While here, remove an artificial dependency in Ovfork.S by performing
manual register renaming.
|
| |
|
| |
|
|
|
|
| |
Submitted by: julian
|
|
|
|
|
| |
comment says and don't write the first 3 arguments to FRAME_TRAPARG_*
as they are specific to sigframes.
|
| |
|
|
|
|
|
| |
PR: 51729
Submitted by: Kang Liu <liukang@bjpu.edu.cn>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
almost identical.
* Merge strchr(3) and strrchr(3) to strchr(3) since the two functions
are almost identical.
* Make the wording of index(3) and strchr(3) more similar.
* mdoc(7) cleanup.
Submitted by: SUZUKI Koichi <metal@gc5.so-net.ne.jp>, keramida, myself
PR: docs/32054
Reviewed by: ru
Approved by: ceri (mentor)
|
| |
|
|
|
|
|
|
| |
switching anymore, so there's no need to save and restore GP. This
change breaks threaded applications linked against libc_r. Pull the
tier 2 card again: relink. This will link against libthr instead.
|
|
|
|
| |
Spotted by: GCC
|
|
|
|
|
|
| |
permission set based on a more restrictive mask.
Submitted by: Glen Gibb <grg@ridley.unimelb.edu.au>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
return EACCES on non-Unix domain sockets as demonstrated by the
following program:
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <errno.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
int
main(int argc, char *argv[])
{
struct sockaddr_in rem_addr;
int sock;
if ((sock = socket(AF_INET, SOCK_STREAM, 0)) < 0) {
perror("socket");
exit(1);
}
bzero((char *)&rem_addr, sizeof(rem_addr));
rem_addr.sin_family = AF_INET;
rem_addr.sin_addr.s_addr = INADDR_NONE;
rem_addr.sin_port = htons(10000);
if (connect(sock, (struct sockaddr *)&rem_addr,
sizeof(rem_addr)) < 0) {
perror("connect");
exit(1);
}
}
The call chain returning this value is probably:
kern/uipc_syscalls.c:connect
kern/uipc_socket.c:soconnect
netinet/tcp_usrreq.c:tcp_usr_connect
netinet/tcp_output.c:tcp_output
netinet/ip_output.c:ip_output
Reviewed by: schweikh (mentor)
MFC after: 2 weeks
|
|
|
|
| |
for the use of non-GCC compilers and C++ code.
|
|
|
|
| |
and just cause lots of warnings.
|
|
|
|
|
|
| |
thread library.
Reviewed by: deischen
|
|
|
|
|
| |
for libkse (makecontext() is also needed for libthr).
These probably will need some tweaking.
|
|
|
|
| |
in the standard. Defer to gettimeofday(2) for error indications.
|
|
|
|
|
|
| |
(if present), even on error.
Pointed out by: Wojtek Lerch, on the Austin Group mailing-list
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
don't probe the server at all for passwd.by* maps. This fixes
interoperability with the Services For UNIX NIS server (which is
really a front end to Captive^WActiveDirectory). This server
incorrectly returns success for all YPPROC_MASTER requests,
even for maps that don't exist, which makes it impossible to
(ab)use it to probe for the existence of the master.passwd.by*
maps.
This is a little kludgey, but basically restores the original
behavior of getpwent.c as it is in -stable, and works around both
the lack of YPPROC_ORDER on NIS+ servers as well as the broken
YPPROC_MASTER on Services For UNIX servers.
|
| |
|