wrstuden
04ca26c586
Tweak change to move SA support from userret() to lwp_userret().
...
1) Since we want to check for upcalls only once, take LW_SA_UPCALL
out of the while(l->l_flags & LW_USERRET) loop.
2) since the goal is to keep SA code out of userret() (and especially
all the emulations that include userret() but will never do SA),
ALWAYS set LW_SA_UPCALL when we set SAVP_FLAG_NOUPCALLS. Drop the
test for it in lwp_userret() since it will never be set bare.
3) Adapt sa_upcall_userret() to clear LW_SA_UPCALL if it's no longer
needed. If we have gained upcalls since sa_yield(), we will deliver
them next time around.
Tested by skrll at.
2008-10-28 22:11:36 +00:00
macallan
836c38aba9
Actually enable hardware acceleration support
2008-10-28 21:37:07 +00:00
macallan
a11fe389f9
Include glint_dri.c since we build Xservers with DRI support enabled.
...
Also pass -DSPARC_MMIO_IS_BE and -DPPC_MMIO_IS_BE since Xorg's MMIO ops are now
byteswapping by default but the glint driver hasn't been adapted.
With this Xorg Just Works(tm) on my U60 with a PGX32 ( which is a Permedia2 with
Sun firmware )
2008-10-28 20:24:12 +00:00
tteras
0c1f013cc5
Fix commit dates to reflect reality.
2008-10-28 19:03:27 +00:00
wiz
c9fe8b901d
Use .Er for error codes.
2008-10-28 18:42:54 +00:00
christos
e4b18f1168
populate init_thread_area.
2008-10-28 18:37:41 +00:00
matt
cd126431a5
Since KERNEL_BASE_PHYS and KERNEL_BASE_VIRT are the same as LOADADDRESS,
...
define them using LOADADDRESS.
2008-10-28 17:19:37 +00:00
matt
e5e7d34405
Move line from mk.gemini to std.gemini so addrs are all in one place.
2008-10-28 17:12:05 +00:00
tsutsui
4423d2e025
On the prompt for init path, print a simple usage line
...
if input strings are not valid path or command.
Per comments from perry@ and pgoyette@.
2008-10-28 15:33:10 +00:00
christos
ec0b686d24
moved to external long time ago.
2008-10-28 14:09:34 +00:00
christos
82db559c65
Moved a long time ago to external
2008-10-28 14:06:06 +00:00
christos
f0fa6bf8e1
pass lint.
2008-10-28 14:01:46 +00:00
plunky
d2d4850456
clarify allocation/error return of sockopt_set()
2008-10-28 12:07:25 +00:00
abs
eb89868e67
Remove unwanted 'xs->xs_status |= XS_STS_DONE' which caused scsipi_done()
...
to bail out early.
Found by T. Makinen, and additional confirmation by David Ross
2008-10-28 11:44:14 +00:00
jmcneill
af9ee6c291
Only call release_futexes if LINUX_NPTL
2008-10-28 11:42:30 +00:00
christos
522f18932f
Fold long lines created by the previous commit. No functional change.
2008-10-28 11:41:23 +00:00
lukem
a69f51a660
Constify.
...
Rework an expression to make it easier to conditionally compile.
2008-10-28 08:05:26 +00:00
matt
39f041b6a5
Enable making netbsd.gdb
2008-10-28 04:46:52 +00:00
mrg
60383d275a
if HAVE_NBTOOL_CONFIG_H is defined, also use the contents of this
...
file, not <i386/disklabel.h>.
XXX: the way tools/disklabel builds is gross.
2008-10-28 02:19:27 +00:00
dyoung
5cf05f3b26
Stop the "Sleazy use of local variables throughout file", replace
...
'dst' with 'info.rti_info[RTAX_DST]', et cetera.
2008-10-28 02:03:06 +00:00
uwe
668de03d5a
options<SPACE> police
2008-10-28 00:05:04 +00:00
uwe
5e0b9095dd
Implement PT___GETREGS40 and PT___SETREGS40 under COMPAT_40 so that
...
old gdb works on newer kernels.
2008-10-27 23:50:12 +00:00
mrg
842ce98d01
note cc -m32 support
2008-10-27 22:34:17 +00:00
mrg
bafe7cb90b
- enable 32-bit library builds on amd64 and sparc64
...
- add 3 new top-level targets:
do-compat-lib-csu
do-compat-libgcc
do-compat-lib-libc
and run them before "do-build" if ${MKCOMPAT} != "no"
2008-10-27 22:32:51 +00:00
uwe
428393080e
Compile conditionally depending on options PTRACE and COREDUMP.
2008-10-27 22:10:36 +00:00
joerg
71e504882f
Remove E220 quirk -- u3g(4) does implement that directly.
2008-10-27 21:46:43 +00:00
apb
33b84e402a
Add AWK?=${TOOL_AWK} in regression tests for awk itself.
2008-10-27 20:59:22 +00:00
apb
ea7b5c7aff
Use ${TOOL_AWK}, no ${AWK}.
2008-10-27 20:58:08 +00:00
apb
8a9d9ec446
s/AWK/TOOL_AWK/. Problem reported by Greg Oster.
2008-10-27 20:56:28 +00:00
veego
313edc1aba
Enable xf86-video-radeonhd in the 'default' case.
2008-10-27 20:39:32 +00:00
veego
4c88703b63
Correct the list of libraries which are build before all libraries are build.
2008-10-27 20:32:41 +00:00
veego
2a9386a5d0
Add radeonhd_drv and change the name of some cirrus subdrivers by
...
removing the _drv part for cirrus_alpine and cirrus_laguna
2008-10-27 20:30:47 +00:00
veego
eddf7a7afb
Remove the _drv part from DRIVER_NAME, because the module is not a real
...
driver, it is loaded by cirrus_drv.
2008-10-27 20:29:10 +00:00
cube
e292797f3d
Make the XlibConf.h we generate compatible with the config.h the configure
...
script of libX11 generates. That way if we choose to permanently generate
a config.h, we could just use it.
2008-10-27 20:24:10 +00:00
cube
2566edbdf7
Sort the list of CPPFLAGS definitions by file name.
2008-10-27 20:18:53 +00:00
plunky
8903ff8350
sockopt_getmbuf() may fail, handle that possibility
2008-10-27 20:03:07 +00:00
apb
71c484f48c
Mention ksh posix mode fix.
...
Also fix formatting in some other recent entries: \xa0 -> space,
remove comma between username and date, add full stop.
2008-10-27 20:01:27 +00:00
apb
3f6e3bc032
In foo="echo \"hi\"
", the backslashes should be removed by the outer
...
double quotes, not seen by the inner backquotes. Previously, ksh(1)
handled this correctly in non-posix mode but incorrectly in posix mode.
The previous comments in src/bin/ksh/lex.c quote parts of some version
of the POSIX specification. The version of POSIX being quoted is not
identified, but the wording is very similar to that in SUSv3
<http://www.opengroup.org/onlinepubs/009695399/utilities/xcu_chap02.html >.
It seems clear that the words "having escape characters removed"
mean, in that context, that the backslash before the double quote in
"...`...\"...`..." is removed as part of the handling of the outer
double quotes, so that the backslash is not present when the inner
backquotes are handled. The new code in this commit follows this
interpretation. The previous code followed a different interpretation
which is now believed to be incorrect.
Discussed in tech-userlevel. Closes PR 26493.
2008-10-27 19:52:28 +00:00
veego
b8a06843f4
Adapt to version 1.2.3 of the driver and make it buildable
2008-10-27 19:42:50 +00:00
wrstuden
1698883b6a
Ok. Some calls to sa_upcall() pass in an 'l' that is not the current
...
lwp. Our "no-upcall" flagging however accesses l_pflag, and so we
can't access l->l_pflag. So access curlwp for the no-upcall-blocking
part.
2008-10-27 16:52:04 +00:00
wiz
695738de0e
Sort ERRORS, use more markup, bump date for previous.
...
Remove trailing whitespace.
2008-10-27 16:49:10 +00:00
erh
8886757e7e
Document the fact that shmget can return EINVAL.
...
Refer the reader over to sysctl for information about changing shm limits.
2008-10-27 15:42:04 +00:00
erh
75072b1c6f
Change the order of error checks in shmget so EEXIST is returned before
...
EINVAL or EACCESS so callers have a more reliable way to tell if a
shared memory segment already exists.
2008-10-27 15:40:56 +00:00
mrg
05c3fa1435
add the compat pam modules now they are installed in the right place.
2008-10-27 15:17:58 +00:00
cegger
6b4fb5f4de
make this build again without having
...
NFS_BOOT_BOOTSTATIC, NFS_BOOT_BOOTP, NFS_BOOT_DHCP or NFS_BOOT_BOOTPARAM
defined.
I uncovered this case when compiling rump.
2008-10-27 13:24:01 +00:00
cegger
c479884027
change nfs boot behaviour to automatically try next boot method if boot information are incomplete to succeed.
...
That way, it is possible combine static and dhcp boot:
For example, to boot diskless you can specify the nfs-server and the rootpath statically. All other information will be taken via dhcp.
Patch has been presented on port-xen, tech-kern and tech-net:
http://mail-index.netbsd.org/port-xen/2008/10/24/msg004488.html
http://mail-index.netbsd.org/tech-kern/2008/10/24/msg003255.html
http://mail-index.netbsd.org/tech-net/2008/10/24/msg000864.html
No comments, no objections.
2008-10-27 10:58:22 +00:00
hubertf
11236c9878
Make sshd find the xauth program, even with the new /usr/X11R7.
...
OK'd by christos@
2008-10-27 08:27:04 +00:00
skrll
b42162d7bc
Document nick-hppapmap
2008-10-27 08:13:08 +00:00
mrg
7a71ee4b9a
regenerate.
2008-10-27 08:00:01 +00:00
mrg
e2cfe5af93
support /usr/lib/<arch>/security/.
2008-10-27 07:58:42 +00:00