ViewVC logotype

Log of /src/code/unix-glibc2.lisp

Parent Directory Parent Directory | Revision Log Revision Log

Links to HEAD: (view) (annotate)
Links to sparc-tramp-assem-2010-07-19: (view) (annotate)
Sticky Tag:

Revision 1.54 - (view) (annotate) - [select for diffs]
Tue Apr 20 17:57:45 2010 UTC (4 years ago) by rtoy
Branch: MAIN
CVS Tags: GIT-CONVERSION, HEAD, RELEASE_20b, cross-sol-x86-2010-12-20, cross-sol-x86-base, cross-sol-x86-merged, cross-sparc-branch-base, release-20b-pre1, release-20b-pre2, snapshot-2010-05, snapshot-2010-06, snapshot-2010-07, snapshot-2010-08, snapshot-2010-11, snapshot-2010-12, snapshot-2011-01, snapshot-2011-02, snapshot-2011-03, snapshot-2011-04, snapshot-2011-06, snapshot-2011-07, snapshot-2011-09, sparc-tramp-assem-2010-07-19, sparc-tramp-assem-base
Branch point for: RELEASE-20B-BRANCH, cross-sol-x86-branch, cross-sparc-branch, sparc-tramp-assem-branch
Changes since 1.53: +4 -4 lines
Diff to previous 1.53
Change uses of _"foo" to (intl:gettext "foo").  This is because slime
may get confused with source locations if the reader macros are

Revision 1.53 - (view) (annotate) - [select for diffs]
Fri Mar 19 15:19:00 2010 UTC (4 years, 1 month ago) by rtoy
Branch: MAIN
CVS Tags: post-merge-intl-branch, snapshot-2010-04
Changes since 1.52: +442 -441 lines
Diff to previous 1.52
Merge intl-branch 2010-03-18 to HEAD.  To build, you need to use
boot-2010-02-1 as the bootstrap file.  You should probably also use
the new -P option for build.sh to generate and update the po files
while building.

Revision 1.52 - (view) (annotate) - [select for diffs]
Mon Dec 7 01:48:27 2009 UTC (4 years, 4 months ago) by rtoy
Branch: MAIN
CVS Tags: intl-2-branch-base, intl-branch-base, pre-merge-intl-branch, snapshot-2010-01, snapshot-2010-02, snapshot-2010-03
Branch point for: intl-2-branch, intl-branch
Changes since 1.51: +3 -3 lines
Diff to previous 1.51
Fix bug in SUB-UNIX-EXECVE.  The call to execve needs to convert the
Lisp string to a C string appropriately.

Bug noted by Helmut Eller on cmucl-imp, 2009-12-06.  He also provided
the basic solution.

Revision 1.51 - (view) (annotate) - [select for diffs]
Mon Nov 2 15:05:06 2009 UTC (4 years, 5 months ago) by rtoy
Branch: MAIN
CVS Tags: snapshot-2009-12
Changes since 1.50: +1 -1 lines
Diff to previous 1.50
Revert previous changes.  They were supposed to go on

Revision 1.50 - (view) (annotate) - [select for diffs]
Mon Nov 2 02:51:58 2009 UTC (4 years, 5 months ago) by rtoy
Branch: MAIN
Changes since 1.49: +2 -2 lines
Diff to previous 1.49
This large checkin brings the amd64 port up-to-date with the current
sources.  No real attempt has been made to make it work, but the
cross-compile does create a kernel.core, and the C code compiles (on
openSuSE 10.3).  The resulting kernel.core does not yet work.

Use cross-x86-amd64.lisp as the cross-compile script.  This is
intended to be cross-compiled using the 20a release for Linux, and
only supports x87.  The sse2 support has not be ported yet.

o Update cross-compile with some missing constants, and frob new

o Remove amd64f files too.

o Define predicates for double-doubles for bootstrapping to work
  around recursive known function problems with these predicates.

o Define int-sap with (unsigned-byte 64) type declaration.  (May not
  be needed?)

o Build fails defining map_failed to (int-sap -1).  Just hard-wire to
  0 for now so we can build.

o Add missing conditional for %complex-double-double-float.

o Merge double-double support for amd64.  Not really tested yet.

o Update to match x86 build.  In particular, get the space address
  correct and update the static symbols.

o DYLAN-FUNCTION-HEADER-TYPE no longer exists.

o Add double-double storage classes and register definitions.

o Bring in line with Config.x86 and friends.

o Bring amd64 code up-to-date with x86/linux code.

o Need to include sys/ucontext.h to get ucontext defined.  (Why?)
o Also define __USE_GNU so we get the register offsets in the ucontext
  defined.  (Why?)

o Change struct sigcontext to os_context_t.
o Use SC_PC instead of context->sc_pc.
o Merge some changes in from x86 version, like SC_EFLAGS.  May need
  more work.

o Use rbx instead of ebx for jmp.

o Define SC_REG, SC_PC, SC_SP using the new x86 style.

o Remove inline assembly for now until I figure out what the amd64
  version should be.

o Conditionalize out weak hash table support for now.

o Set PAGE_SIZE for amd64.  (Is 4096 right?)

o Export current_dynamic_space_free_pointer and
  current_auto_gc_trigger like for x86.

Revision 1.49 - (view) (annotate) - [select for diffs]
Thu Oct 15 14:07:35 2009 UTC (4 years, 6 months ago) by rtoy
Branch: MAIN
CVS Tags: amd64-dd-start, snapshot-2009-11
Branch point for: amd64-dd-branch
Changes since 1.48: +19 -9 lines
Diff to previous 1.48
Add docstrings for the new alien functions getenv, setenv, putenv, and

Revision 1.48 - (view) (annotate) - [select for diffs]
Wed Oct 14 03:42:21 2009 UTC (4 years, 6 months ago) by agoncharov
Branch: MAIN
Changes since 1.47: +17 -1 lines
Diff to previous 1.47
As suggested by Madhu <madhu@cs.unm.edu>, removed the ext:getenv
function that I had introduced a few days ago.  Instead, four foreign
function definitions are introduced, following Madhu's proposal.

The four functions:

   unix-getenv unix-setenv unix-putenv unix-unsetenv

are defined both in unix.lisp and unix-glibc2.lisp.

Revision 1.47 - (view) (annotate) - [select for diffs]
Thu Jun 11 16:03:59 2009 UTC (4 years, 10 months ago) by rtoy
Branch: MAIN
CVS Tags: RELEASE_20a, merged-unicode-utf16-extfmt-2009-06-11, portable-clx-base, portable-clx-import-2009-06-16, release-20a-base, release-20a-pre1, snapshot-2009-07, snapshot-2009-08, unicode-string-buffer-base, unicode-string-buffer-impl-base
Branch point for: RELEASE-20A-BRANCH, portable-clx-branch, unicode-string-buffer-branch, unicode-string-buffer-impl-branch
Changes since 1.46: +68 -33 lines
Diff to previous 1.46
Merge Unicode work to trunk.  From label

Revision 1.46 - (view) (annotate) - [select for diffs]
Fri Jan 23 13:38:59 2009 UTC (5 years, 2 months ago) by rtoy
Branch: MAIN
CVS Tags: RELEASE_19f, label-2009-03-16, label-2009-03-25, merge-with-19f, release-19f-base, release-19f-pre1, snapshot-2009-02, snapshot-2009-04, snapshot-2009-05
Branch point for: RELEASE-19F-BRANCH
Changes since 1.45: +5 -2 lines
Diff to previous 1.45
o Add a little text to unix-chmod docstring to describe the mode
  argument better.
o Make docstring for unix-mkdir mention unix-chmod instead of
  unix-fchmod for the mode argument.

(Patch mostly from GP Lisper, cmucl-help 2009/01/22.)

Revision 1.45 - (view) (annotate) - [select for diffs]
Fri Oct 3 13:30:15 2008 UTC (5 years, 6 months ago) by rtoy
Branch: MAIN
CVS Tags: merge-sse2-packed, snapshot-2008-10, snapshot-2008-11, snapshot-2008-12, snapshot-2009-01
Changes since 1.44: +9 -5 lines
Diff to previous 1.44
Fix unix-openpty.  The parameters should not include amaster and
aalave, which are returned by openpty.  This matches the
implementation in unix.lisp.

Revision 1.44 - (view) (annotate) - [select for diffs]
Wed Sep 24 09:42:31 2008 UTC (5 years, 6 months ago) by cshapiro
Branch: MAIN
CVS Tags: sse2-base, sse2-checkpoint-2008-10-01, sse2-packed-base
Branch point for: sse2-branch, sse2-packed-branch
Changes since 1.43: +2 -3 lines
Diff to previous 1.43
Use openpty to obtain a pseudo-terminal pair instead of searching for
an available devices on our own.  This resolves an issue with Linux
systems that do not populate /dev with BSD pseudo-terminal devices.

Revision 1.43 - (view) (annotate) - [select for diffs]
Wed Nov 14 17:20:46 2007 UTC (6 years, 5 months ago) by rtoy
Branch: MAIN
CVS Tags: release-19e, release-19e-base, release-19e-pre1, release-19e-pre2, snapshot-2007-12, snapshot-2008-01, snapshot-2008-02, snapshot-2008-03, snapshot-2008-04, snapshot-2008-05, snapshot-2008-06, snapshot-2008-07, snapshot-2008-08, snapshot-2008-09, unicode-utf16-base
Branch point for: release-19e-branch, unicode-utf16-branch
Changes since 1.42: +2 -2 lines
Diff to previous 1.42
In UNIX-MMAP, replace FILE-OFFSET with (SIGNED-BYTE 32), since
unix-glibc2 doesn't define FILE-OFFSET.

Revision 1.42 - (view) (annotate) - [select for diffs]
Wed Nov 14 10:04:33 2007 UTC (6 years, 5 months ago) by cshapiro
Branch: MAIN
Changes since 1.41: +11 -15 lines
Diff to previous 1.41
* Change the way the x87 precision control is managed.  While in Lisp,
  the precision control will always be set to double precision.  For
  the duration of calls into C, the precision control will be set to
  the ABI default.  On Linux and Darwin this is double extended
  precision.  On all other platforms the precision control is left as
  double precision.  The specious FLOAT-ACCURACY declaration has been

* Shorten the precision control field to 24-bits by disposing of the
  unexamined high order eight bits of the status word.  This compacts
  the code generated around floating point mode changes and reduces

* Eliminate unnecessary uses of FLDENV and FSTENV.  We can substitute a
  use of FSTENV with FSTSW in FLOATING-POINT-MODES.  This reduces the
  number of cycles to access the relevant mode bits by a factor of
  thirty.  We cannot eliminate FLDENV in SET-FLOATING-POINT-MODES, but
  the common case does not require an update to the status word.  A
  fast path has been added to the VOP that improves the execution time
  by at least a factor of fifteen.

* Remove the precision control option to SET-FLOATING-POINT-MODES.  It
  is the responsibility of the compiler to generating code that yields
  correctly rounded results in double and single precision.

Revision 1.41 - (view) (annotate) - [select for diffs]
Fri Nov 9 19:24:36 2007 UTC (6 years, 5 months ago) by rtoy
Branch: MAIN
Changes since 1.40: +9 -2 lines
Diff to previous 1.40
Lynn Quam noted that callbacks did not work on his system.  This
happened because the callback trampoline used malloc'ed space which
were not executable by default.  Change this so that the trampoline is

code/unix.lisp, code/unix-glibc2.lisp:


o Make sure the malloc'ed trampoline area is executable.

o Update

Revision 1.40 - (view) (annotate) - [select for diffs]
Tue Nov 6 07:16:05 2007 UTC (6 years, 5 months ago) by cshapiro
Branch: MAIN
Changes since 1.39: +6 -5 lines
Diff to previous 1.39
Type mmap as returning a system area pointer to accommodate pointers
above 2GB.  Also, always return the second value.  This makes the type
signature of unix-mmap consistent with other system calls.

Revision 1.39 - (view) (annotate) - [select for diffs]
Tue Nov 6 06:04:56 2007 UTC (6 years, 5 months ago) by cshapiro
Branch: MAIN
Changes since 1.38: +2 -2 lines
Diff to previous 1.38
The return value of the ioctl function is meaningful.  Make unix-ioctl
return this value instead of T if the call succeeds.

Revision 1.38 - (view) (annotate) - [select for diffs]
Tue Jul 31 10:08:47 2007 UTC (6 years, 8 months ago) by cshapiro
Branch: MAIN
CVS Tags: pre-telent-clx, snapshot-2007-08, snapshot-2007-09, snapshot-2007-10, snapshot-2007-11
Changes since 1.37: +5 -10 lines
Diff to previous 1.37
Replace operating system private errno accessors with a common set of
errno accessors shared by all ports.  Change the definition of
UNIX:UNIX-ERRNO so that it always calls down to an accessor function.

Revision 1.37 - (view) (annotate) - [select for diffs]
Sat Apr 7 15:05:52 2007 UTC (7 years ago) by rtoy
Branch: MAIN
CVS Tags: snapshot-2007-05, snapshot-2007-06, snapshot-2007-07
Changes since 1.36: +15 -5 lines
Diff to previous 1.36
Use unix-mmap from unix.lisp because mmap can return "negative" values,
which means we can't use syscall.

Issue noted by Madhu, cmucl-imp, 2007-04.  This appears to have been
lost during the Great CVS Corruption.

Revision 1.36 - (view) (annotate) - [select for diffs]
Mon Oct 10 20:31:13 2005 UTC (8 years, 6 months ago) by rtoy
Branch: MAIN
CVS Tags: double-double-array-base, double-double-array-checkpoint, double-double-base, double-double-init-%make-sparc, double-double-init-checkpoint-1, double-double-init-ppc, double-double-init-sparc, double-double-init-sparc-2, double-double-init-x86, double-double-irrat-end, double-double-irrat-start, double-double-reader-base, double-double-reader-checkpoint-1, double-double-sparc-checkpoint-1, release-19c, release-19c-base, release-19c-pre1, release-19d, release-19d-base, release-19d-pre1, release-19d-pre2, snapshot-2005-11, snapshot-2005-12, snapshot-2006-01, snapshot-2006-02, snapshot-2006-03, snapshot-2006-04, snapshot-2006-05, snapshot-2006-06, snapshot-2006-07, snapshot-2006-08, snapshot-2006-09, snapshot-2006-10, snapshot-2006-11, snapshot-2006-12, snapshot-2007-01, snapshot-2007-02, snapshot-2007-03, snapshot-2007-04
Branch point for: double-double-array-branch, double-double-branch, double-double-reader-branch, release-19c-branch, release-19d-branch
Changes since 1.35: +4 -1 lines
Diff to previous 1.35
If the pathname for PROBE-FILE is actually a directory, have
PROBE-FILE return a pathname with directory and name components set
appropriately.  This is done by having UNIX-RESOLVE-LINKS append a
slash when the pathname actually names a directory and not a file.

Revision 1.35 - (view) (annotate) - [select for diffs]
Thu Jan 27 15:23:33 2005 UTC (9 years, 2 months ago) by rtoy
Branch: MAIN
CVS Tags: ppc_gencgc_snap_2005-05-14, release-19b-base, release-19b-pre1, release-19b-pre2, snapshot-2005-02, snapshot-2005-03, snapshot-2005-04, snapshot-2005-05, snapshot-2005-06, snapshot-2005-07, snapshot-2005-08, snapshot-2005-09, snapshot-2005-10
Branch point for: ppc_gencgc_branch, release-19b-branch
Changes since 1.34: +25 -1 lines
Diff to previous 1.34
Add support for datagram networking.  From a debian bug 290503,
forwarded to cmucl-imp, 2005-01-17.  Slightly modified the code

The functions are unix-recvfrom, unix-sendto, unix-shutdown,
inet-recvfrom, inet-sendto, inet-shutdown.

Revision 1.34 - (view) (annotate) - [select for diffs]
Sat Sep 11 19:18:01 2004 UTC (9 years, 7 months ago) by rtoy
Branch: MAIN
CVS Tags: snapshot-2004-10, snapshot-2004-11, snapshot-2004-12, snapshot-2005-01
Changes since 1.33: +15 -11 lines
Diff to previous 1.33
Port of SBCL's float-accuracy compilation policy.  Intended to make
double-float-epsilon actually be epsilon on x86.  No effect on other

The default precision is now 53-bit (double-float) instead of 64-bit
(80-bit floats).  However, to preserve C expectations, all calls to C
have the precision set to 64-bit.  This slows down calls to C, but we
try to make syscalls and such fast by not changing precision for the

By default ext:float-accuracy is 3.

Use boot7.lisp to bootstrap.

Revision 1.33 - (view) (annotate) - [select for diffs]
Tue Aug 31 12:39:43 2004 UTC (9 years, 7 months ago) by rtoy
Branch: MAIN
CVS Tags: snapshot-2004-09
Changes since 1.32: +25 -2 lines
Diff to previous 1.32
In UNIX-READ, go through and touch every page contained in BUF to make
sure the pages are not write-protected, because the kernel doesn't
like that.  Also update it to touch the beginning of every page.  Use
this idea in unix-glibc2.lisp.

This is a workaround for the bug reported by David Lichteblau on Aug
26, 2004 (for a long-standing bug fomr Dec 7, 1999).

Revision 1.32 - (view) (annotate) - [select for diffs]
Sun Jul 25 19:32:38 2004 UTC (9 years, 8 months ago) by pmai
Branch: MAIN
CVS Tags: snapshot-2004-08
Changes since 1.31: +9 -12 lines
Diff to previous 1.31
This commit adds the remainder of the outstanding PPC/Darwin port merge.

Besides support for Darwin foreign loading, and updates to the ppc-vm
and bsd-os files, this commit removes unix:unix-errno as a foreign variable
and replaces it with a function named unix-errno, and a (setf unix-errno).
This makes both glibc support cleaner, and enables ports like PPC/Darwin
(and the upcoming win32 port) which have no easy way of accessing errno as
a foreign variable able to support this functionality at all.

The current implementation of this is rather make-shift, it would likely
be much cleaner to go the SBCL way and mediate all access to errno via
defined functions in the C runtime.

As an interim feature, the frobbing of the float-trap-modes is currently
commented out for Darwin because of ongoing breakage.

Revision 1.31 - (view) (annotate) - [select for diffs]
Tue Jun 1 23:16:00 2004 UTC (9 years, 10 months ago) by cwang
Branch: MAIN
CVS Tags: prm-before-macosx-merge-tag, snapshot-2004-06, snapshot-2004-07
Changes since 1.30: +11 -10 lines
Diff to previous 1.30
amd64 changes

Revision 1.30 - (view) (annotate) - [select for diffs]
Sun Aug 31 10:50:15 2003 UTC (10 years, 7 months ago) by gerd
Branch: MAIN
CVS Tags: amd64-merge-start, lisp-executable-base, mod-arith-base, release-19a, release-19a-base, release-19a-pre1, release-19a-pre2, release-19a-pre3, snapshot-2003-10, snapshot-2003-11, snapshot-2003-12, snapshot-2004-04, snapshot-2004-05
Branch point for: lisp-executable, mod-arith-branch, release-19a-branch
Changes since 1.29: +2 -2 lines
Diff to previous 1.29
	* src/code/signal.lisp (:SIGPROF): Set to 27 as kill -l tells.

	* src/code/unix-glibc2.lisp (unix-mmap): Likewise to unix.lisp.

Revision 1.29 - (view) (annotate) - [select for diffs]
Fri Aug 8 11:37:21 2003 UTC (10 years, 8 months ago) by emarsden
Branch: MAIN
CVS Tags: dynamic-extent-base, sparc_gencgc_merge
Branch point for: dynamic-extent
Changes since 1.28: +3 -5 lines
Diff to previous 1.28
Add definitions for UNIX-SETUID and UNIX-SETGID.

Revision 1.28 - (view) (annotate) - [select for diffs]
Thu Jun 26 13:27:42 2003 UTC (10 years, 9 months ago) by toy
Branch: MAIN
CVS Tags: sparc_gencgc
Branch point for: sparc_gencgc_branch
Changes since 1.27: +125 -114 lines
Diff to previous 1.27
From Paul Foley:

Non-simple-streams-related changes:

* Stop commands which go through invoke-command-interactive from
  affecting the history variables.

* Fix some typos in comments

* When the GC closes a lost stream, revert to original contents

* Replace #+nil with #+(or) in unix*.lisp
  [NIL is a potentially valid feature name]

Simple-streams-related changes:

* Teach reader to handle simple-streams

* Add missing package prefixes in OPEN

* Add unix:unix-msync for force-output on mmapped files

* Add placeholder documentation

* Numerous changes in simple-streams implementation

* Add "external-formats" directory for external formats

Note: :BIG-ENDIAN or :LITTLE-ENDIAN should be put on *features*

Revision 1.27 - (view) (annotate) - [select for diffs]
Fri Jun 6 16:23:45 2003 UTC (10 years, 10 months ago) by toy
Branch: MAIN
Changes since 1.26: +36 -3 lines
Diff to previous 1.26
Initial import of Paul Foley's simple-streams implmentation.  Some
functionality is still missing, but Lisp streams and Gray streams
should behave unchanged.

Revision 1.26 - (view) (annotate) - [select for diffs]
Sun Apr 13 16:48:10 2003 UTC (11 years ago) by emarsden
Branch: MAIN
CVS Tags: remove_negative_zero_not_zero
Changes since 1.25: +4 -5 lines
Diff to previous 1.25
 - Fix (declare (type directory foo)) declarations to %directory

Revision 1.25 - (view) (annotate) - [select for diffs]
Sun Apr 13 12:31:52 2003 UTC (11 years ago) by gerd
Branch: MAIN
Changes since 1.24: +5 -3 lines
Diff to previous 1.24
	Don't export a class DIRECTORY from CL.  Fixes ANSI test case

	* src-types/code/unix.lisp (%directory): Struct renamed from
	directory, give it a :conc-name and :constructor for compatibility.

	* src-types/code/unix-glibc2.lisp: Likewise.

Revision 1.24 - (view) (annotate) - [select for diffs]
Sat Mar 8 17:51:52 2003 UTC (11 years, 1 month ago) by pmai
Branch: MAIN
CVS Tags: cold-pcl-base, release-18e, release-18e-base, release-18e-pre1, release-18e-pre2
Branch point for: cold-pcl, release-18e-branch
Changes since 1.23: +23 -6 lines
Diff to previous 1.23
Fixes to deal with ABI differences between glibc 2.1 and glibc 2.2 for
the layout of struct dirent64 returned from readdir64.  Also added
readdir64 to the list of stubs, in order to force usage of the same
readdir64 definition at runtime as was used at compile-time.

Revision 1.23 - (view) (annotate) - [select for diffs]
Wed Mar 5 15:54:52 2003 UTC (11 years, 1 month ago) by emarsden
Branch: MAIN
Changes since 1.22: +4 -2 lines
Diff to previous 1.22
In UNIX-LSEEK, return (values nil errno) on failure instead of
(values nil t). This fixes a silly mistake in the recent LFS changes.

Revision 1.22 - (view) (annotate) - [select for diffs]
Mon Mar 3 16:03:40 2003 UTC (11 years, 1 month ago) by pmai
Branch: MAIN
Changes since 1.21: +4 -13 lines
Diff to previous 1.21
Moved lockf over to lockf64, too, and enabled/exported unix-lockf and friends.
Also removed obsolete ustat struct (statfs is the replacement).

Revision 1.21 - (view) (annotate) - [select for diffs]
Sun Mar 2 15:48:31 2003 UTC (11 years, 1 month ago) by emarsden
Branch: MAIN
Changes since 1.20: +57 -33 lines
Diff to previous 1.20
Additions to the Large File Support, necessary in order to for large
files to be visible via DIRECTORY and friends: added stat64, fstat64,
lstat64, statfs64, readdir64. This requires additional transitions to
64-bit wide data types, and additions to linux-stubs.S, given that some
of the 64-bit stat variants are not accessible via dlsym().

Mostly from Pierre Mai.

Revision 1.20 - (view) (annotate) - [select for diffs]
Tue Feb 25 15:15:55 2003 UTC (11 years, 1 month ago) by emarsden
Branch: MAIN
Changes since 1.19: +2 -2 lines
Diff to previous 1.19

Revision 1.19 - (view) (annotate) - [select for diffs]
Mon Feb 24 16:19:48 2003 UTC (11 years, 1 month ago) by emarsden
Branch: MAIN
Changes since 1.18: +26 -21 lines
Diff to previous 1.18
Add large-file support to the Unix interface, when running above glibc. This
is necessary to support access to files that are larger than 2GB. It is
implemented by calling 64-bit variants of certain library functions, such as
open64 instead of open. Certain library functions such as lseek are called
with a 64-bit offset, instead of a 32-bit offset.

Revision 1.18 - (view) (annotate) - [select for diffs]
Tue Nov 19 13:17:14 2002 UTC (11 years, 5 months ago) by toy
Branch: MAIN
Changes since 1.17: +31 -21 lines
Diff to previous 1.17
Alpha Linux support from Brian.

Revision 1.17 - (view) (annotate) - [select for diffs]
Fri Nov 15 15:08:12 2002 UTC (11 years, 5 months ago) by toy
Branch: MAIN
Changes since 1.16: +168 -50 lines
Diff to previous 1.16
From Eric Marsden:

   Replace the code that grovels /etc/passwd files with an interface
   to the standard user and group database access functions. This
   makes CMUCL work better on systems where user databases are
   accessed using NIS or LDAP.

   Add functions UNIX-GETPWUID, UNIX-GETPWNAM that return structures
   return structures of type GROUP-INFO. The functions return NIL if
   the requested information is not available. On Linux/glibc and
   Solaris, reentrant versions of the functions are used. On FreeBSD
   we call the non-thread-safe versions.

Revision 1.16 - (view) (annotate) - [select for diffs]
Sat Aug 24 01:59:38 2002 UTC (11 years, 7 months ago) by pmai
Branch: MAIN
Branch point for: UNICODE-BRANCH
Changes since 1.15: +10 -2 lines
Diff to previous 1.15
Fix by Bob Rogers to correctly handle files with pathnames longer
than 1024 characters, which also reduces consing for pathnames of
more typical lenghts.

Revision 1.15 - (view) (annotate) - [select for diffs]
Sun Mar 4 20:12:44 2001 UTC (13 years, 1 month ago) by pw
Branch: MAIN
Changes since 1.14: +4 -4 lines
Diff to previous 1.14
Change most PROCLAIMs to DECLAIMs.

Revision 1.14 - (view) (annotate) - [select for diffs]
Tue Jan 23 17:21:33 2001 UTC (13 years, 2 months ago) by dtc
Branch: MAIN
Changes since 1.13: +11 -11 lines
Diff to previous 1.13
o Have unix-uname and unix-gethostname signal an error upon a syscall
  error rather than returning nil and the errno - these should never fail.

Revision 1.13 - (view) (annotate) - [select for diffs]
Mon Jan 22 10:49:45 2001 UTC (13 years, 3 months ago) by dtc
Branch: MAIN
Changes since 1.12: +25 -1 lines
Diff to previous 1.12
o Implement unix-uname on linux, adding structure utsname.

Revision 1.12 - (view) (annotate) - [select for diffs]
Fri Aug 25 09:59:06 2000 UTC (13 years, 7 months ago) by pw
Branch: MAIN
Changes since 1.11: +2 -2 lines
Diff to previous 1.11
In fcntl, make arg types to syscall agree with function arg declarations.

Revision 1.11 - (view) (annotate) - [select for diffs]
Thu Aug 24 17:10:28 2000 UTC (13 years, 7 months ago) by pw
Branch: MAIN
Changes since 1.10: +3 -3 lines
Diff to previous 1.10
Change typespec for args to fcntl from (unsigned-byte 16) to (unsigned-byte 32)
as the third arg can be pointers or process id. Hemlock slave was having
problems with large PIDs.

Revision 1.10 - (view) (annotate) - [select for diffs]
Thu Aug 17 12:57:25 2000 UTC (13 years, 8 months ago) by dtc
Branch: MAIN
Changes since 1.9: +2 -2 lines
Diff to previous 1.9
Correct the spelling of the poll system call; from Scott A Crosby.

Revision 1.9 - (view) (annotate) - [select for diffs]
Mon Jul 31 09:53:39 2000 UTC (13 years, 8 months ago) by dtc
Branch: MAIN
Changes since 1.8: +17 -2 lines
Diff to previous 1.8
Add alien function definitions for getsockopt and setsockopt,
exporting unix-getsockopt and unix-setsockopt from the UNIX package.

Revision 1.8 - (view) (annotate) - [select for diffs]
Sat Dec 4 15:59:35 1999 UTC (14 years, 4 months ago) by dtc
Branch: MAIN
Changes since 1.7: +3 -4 lines
Diff to previous 1.7
Enable unix-sched-yield for Linux.

Revision 1.7 - (view) (annotate) - [select for diffs]
Sun Sep 12 14:24:16 1999 UTC (14 years, 7 months ago) by dtc
Branch: MAIN
Changes since 1.6: +19 -17 lines
Diff to previous 1.6
Add useful implementations for unix-getrlimit and unix-setrlimit.

Revision 1.6 - (view) (annotate) - [select for diffs]
Sat Mar 13 06:23:14 1999 UTC (15 years, 1 month ago) by dtc
Branch: MAIN
Changes since 1.5: +19 -12 lines
Diff to previous 1.5
Linux update: getpgrp takes no arguments; use setpgid for unix-setpgrp;
and add unix-setpgid.

Revision 1.5 - (view) (annotate) - [select for diffs]
Mon Feb 22 11:26:42 1999 UTC (15 years, 2 months ago) by dtc
Branch: MAIN
Changes since 1.4: +3 -2 lines
Diff to previous 1.4
Post Linux-Alpha patch cleanup.

Revision 1.4 - (view) (annotate) - [select for diffs]
Sat Feb 20 15:54:39 1999 UTC (15 years, 2 months ago) by pw
Branch: MAIN
Changes since 1.3: +100 -57 lines
Diff to previous 1.3
Changes for Linux running on Alpha.
From: Julian Dolby <dolby@csag-226-8.UCSD.EDU>

  Enclosed below are diffs against the cvs repository as of Feb 12;
aside from minor changes like using different include files
(e.g. validate.h instead of x86-validate.h in Linux-os.c) and adding
alpha-linux specifics unix-glibc2.lisp, there are two code changes.

 The first is to signal handling. I had to put the POSIX-SIGS
ifdefs into places used by alpha but not by x86, and I ifdef'ed out
most of the linux #define kludges for signals for alpha linux, since
alpha linux uses OSF/1 signals rather than linux ones.

 The second is that the trick of or'ing 2 into the reg_ALLOC address
to cause faults does not work on alpha linux since the kernel traps
and handles the unaligned access; I did not find a way to change that
kernel behavior, so I changed the code to or (1<<63) into the address
to cause a seg fault, and then check, in the seg fault handler, to see
if the high-order address bits are set.

 One change I made is to the memory layout (lisp/alpha-validate.h and
compiler/alpha/parms.lisp); that change is not needed to make lisp run
on alpha linux, but is there because I wanted more heap space.

Revision 1.3 - (view) (annotate) - [select for diffs]
Mon Feb 15 12:05:01 1999 UTC (15 years, 2 months ago) by dtc
Branch: MAIN
Changes since 1.2: +38 -13 lines
Diff to previous 1.2
Extend the define-ioctl-command macro to add the ioctl size and
direction when optionally specified, and to accept either a character
or an integer for the device number. Suggested by Brian
Spilsbury. Rework the ioctl definitions, fixing the SIOCSPGRP ioctl.

Revision 1.2 - (view) (annotate) - [select for diffs]
Tue Jun 16 06:58:54 1998 UTC (15 years, 10 months ago) by dtc
Branch: MAIN
Branch point for: RELENG_18
Changes since 1.1: +2951 -1851 lines
Diff to previous 1.1
Linux port update from Peter VanEynde: revision of the glibc2 support,
better hemlock tty mode support.

Revision 1.1 - (view) (annotate) - [select for diffs]
Fri May 1 01:21:37 1998 UTC (15 years, 11 months ago) by dtc
Branch: MAIN
Update for the linux port from Peter VanEynde, adds preliminary
support for glibc2.

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, select a symbolic revision name using the selection box, or choose 'Use Text Field' and enter a numeric revision.

  Diffs between and
  Type of Diff should be a

Sort log by:

  ViewVC Help
Powered by ViewVC 1.1.5