Re: r1073 - trunk/glibc-2.3-head/sysdeps/kfreebsd

2006-01-21 Thread Robert Millan
On Sat, Jan 21, 2006 at 12:11:52AM +0100, Aurelien Jarno wrote:
> 
> This is the comment in the FreeBSD kernel, file sys/kern/kern_xxx.c
> 
> /*
>  * This is the FreeBSD-1.1 compatable uname(2) interface.  These
>  * days it is done in libc as a wrapper around a bunch of sysctl's.
>  * This must maintain the old 1.1 binary ABI.
>  */
> 
> Then if you look at the code corresponding to the syscall, you will see 
> that the syscall correspond to a call to the corresponding sysctl, but
> truncated:
>   
> ...
> 
> name[0] = CTL_KERN;
> name[1] = KERN_OSTYPE;
> len = sizeof (uap->name->sysname);
> mtx_lock(&Giant);
> error = userland_sysctl(td, name, 2, uap->name->sysname, &len,
> 1, 0, 0, 0);
> if (error)
> goto done2;
> subyte( uap->name->sysname + sizeof(uap->name->sysname) - 1, 0);
> 
> ...
> 
> 
> So, in short the current implementation in our glibc is the correct one.

Weird.   How about disabling SYS_uname macro, then?

-- 
Robert Millan


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: r1083 - trunk/glibc-2.3-head/sysdeps/kfreebsd

2006-01-21 Thread Robert Millan
On Fri, Jan 20, 2006 at 04:54:09PM +, Petr Salinger wrote:
> Author: ps-guest
> Date: 2006-01-20 16:54:08 + (Fri, 20 Jan 2006)
> New Revision: 1083
> 
> Modified:
>trunk/glibc-2.3-head/sysdeps/kfreebsd/ptsname.c
> Log:
> * FreeBSD 6.0 has dynamic major number allocation for pseudo terminals 
> (kern/tty_pty.c) 

Rock.  Kudos for you Petr!

-- 
Robert Millan


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



r1085 - trunk/glibc-2.3-head

2006-01-21 Thread Aurelien Jarno
Author: aurel32
Date: 2006-01-21 08:49:48 + (Sat, 21 Jan 2006)
New Revision: 1085

Modified:
   trunk/glibc-2.3-head/NOTES
Log:
glibc revision r1084 upload. It uses the new context structs, so removing
the corresponding paragraph from NOTES.



Modified: trunk/glibc-2.3-head/NOTES
===
--- trunk/glibc-2.3-head/NOTES  2006-01-20 23:13:52 UTC (rev 1084)
+++ trunk/glibc-2.3-head/NOTES  2006-01-21 08:49:48 UTC (rev 1085)
@@ -73,21 +73,6 @@
 problems:
 =
 
-* update machine context structs (ABI change)
-
-  FreeBSD 5 changed extended context structs (on i386 added support for mmx),
-  we still using FreeBSD 4 structs
-
-  Transition should be as follows:
-
-   1) enlarge struct declarations in glibc [done]
-   2) upload glibc [done]
-   3) binNMU affected packages [done]
-   4) change implementation of ucontext_t related calls
-  to access added mmx fields in structs, test [done]
-   5) upload glibc
-
-
 * thread cancelation
cancelable functions are not properly marked in syscalls.list, ...
informal list of such functions is include in linuxthreads/tst-cancel4.c, 
nptl/tst-cancel4.c


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



r1086 - trunk/web

2006-01-21 Thread Robert Millan
Author: rmh
Date: 2006-01-21 10:33:32 + (Sat, 21 Jan 2006)
New Revision: 1086

Modified:
   trunk/web/BASE
Log:
Update status.

Modified: trunk/web/BASE
===
--- trunk/web/BASE  2006-01-21 08:49:48 UTC (rev 1085)
+++ trunk/web/BASE  2006-01-21 10:33:32 UTC (rev 1086)
@@ -6,13 +6,12 @@
 
 dpkg   FTBFS.  patch in BTS
 
-  Guillem is dealing with Scott.  Maybe he'll get permission to NMU only for
-  adding "!kfreebsd-i386" in debian/control.
+  Fixed in svn for kfreebsd-i386 (but not yet for kfreebsd-amd64).
+  http://svn.debian.org/wsvn/dpkg/trunk/debian/control?op=file&rev=0&sc=0
 
 glibc  pending patchset (both in debian and upstream)
 
-  See 
http://lists.alioth.debian.org/pipermail/glibc-bsd-devel/2005-December/000886.html
-  and trunk/glibc-2.3-head/
+  See trunk/glibc-2.3-head/.
 
 ncursesFTBFS.  patch in BTS
 ufsutils   still in experimental


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



r1087 - trunk/glibc-2.3-head/patches/scripts

2006-01-21 Thread Petr Salinger
Author: ps-guest
Date: 2006-01-21 10:55:20 + (Sat, 21 Jan 2006)
New Revision: 1087

Modified:
   trunk/glibc-2.3-head/patches/scripts/scripts.patch
Log:
ld.so name for amd64


Modified: trunk/glibc-2.3-head/patches/scripts/scripts.patch
===
--- trunk/glibc-2.3-head/patches/scripts/scripts.patch  2006-01-21 10:33:32 UTC 
(rev 1086)
+++ trunk/glibc-2.3-head/patches/scripts/scripts.patch  2006-01-21 10:55:20 UTC 
(rev 1087)
@@ -115,6 +115,14 @@
  
  # libmachuser.so.1 corresponds to mach/*.defs as of Utah's UK22 release.
  .*-.*-gnu-gnu.*   libmachuser=1
+@@ -73,6 +73,7 @@
+ powerpc64.*-.*-linux.*ld=ld64.so.1GLIBC_2.3
+ cris-.*-linux.*   ld=ld.so.1  GLIBC_2.2
+ x86_64-.*-linux.* ld=ld-linux-x86-64.so.2 GLIBC_2.2.5
++x86_64-.*-kfreebsd.*  ld=ld-kfreebsd-x86-64.so.1
+ # We use the ELF ABI standard name for the default.
+ .*-.*-.*  ld=ld.so.1
+ 
 diff -urN glibc-2.3.2.orig/linuxthreads/shlib-versions 
glibc-2.3.2/linuxthreads/shlib-versions
 --- linuxthreads/shlib-versions2002-09-05 12:14:21.0 +0200
 +++ linuxthreads/shlib-versions2005-06-15 01:40:37.0 +0200


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



r1088 - in trunk/glibc-2.3-head/sysdeps/kfreebsd: i386/bits x86_64/bits

2006-01-21 Thread Petr Salinger
Author: ps-guest
Date: 2006-01-21 17:11:12 + (Sat, 21 Jan 2006)
New Revision: 1088

Modified:
   trunk/glibc-2.3-head/sysdeps/kfreebsd/i386/bits/sigcontext.h
   trunk/glibc-2.3-head/sysdeps/kfreebsd/x86_64/bits/sigcontext.h
Log:
* definition of struct sigcontext should come from kernel headers,
  but in mean time ...


Modified: trunk/glibc-2.3-head/sysdeps/kfreebsd/i386/bits/sigcontext.h
===
--- trunk/glibc-2.3-head/sysdeps/kfreebsd/i386/bits/sigcontext.h
2006-01-21 10:55:20 UTC (rev 1087)
+++ trunk/glibc-2.3-head/sysdeps/kfreebsd/i386/bits/sigcontext.h
2006-01-21 17:11:12 UTC (rev 1088)
@@ -24,6 +24,52 @@
 #ifndef _BITS_SIGCONTEXT_H
 #define _BITS_SIGCONTEXT_H  1
 
+#ifdef __x86_64__
+struct sigcontext {
+   __sigset_t sc_mask; /* signal mask to restore */
+   longsc_onstack; /* sigstack state to restore */
+   union { longsc_rdi;   long  rdi;};
+   union { longsc_rsi;   long  rsi;};
+   union { longsc_rdx;   long  rdx;};
+   union { longsc_rcx;   long  rcx;};
+   union { longsc_r8;long  r8;};
+   union { longsc_r9;long  r9;};
+   union { longsc_rax;   long  rax;};
+   union { longsc_rbx;   long  rbx;};
+   union { longsc_rbp;   long  rbp;};
+   union { longsc_r10;   long  r10;};
+   union { longsc_r11;   long  r11;};
+   union { longsc_r12;   long  r12;};
+   union { longsc_r13;   long  r13;};
+   union { longsc_r14;   long  r14;};
+   union { longsc_r15;   long  r15;};
+   union { longsc_trapno;long  trapno;};
+   union { longsc_addr;  long  addr;};
+   union { longsc_flags; long  flags;};
+   union { longsc_err;   long  err;};
+   union { longsc_rip;   long  rip;};
+   union { longsc_cs;long  cs;};
+   union { longsc_rflags;long  rflags;};
+   union { longsc_rsp;   long  rsp;};
+   union { longsc_ss;long  ss;};
+   longsc_len; /* sizeof(mcontext_t) */
+   /*
+* XXX - See  and  for
+*   the following fields.
+*/
+   longsc_fpformat;
+   longsc_ownedfp;
+   longsc_fpstate[64] __attribute__((aligned(16)));
+   longsc_spare[8];
+};
+
+/* Traditional BSD names for some members.  */
+#define sc_sp   sc_rsp  /* Stack pointer.  */
+#define sc_fp   sc_rbp  /* Frame pointer.  */
+#define sc_pc   sc_rip  /* Process counter.  */
+
+#else
+
 /* State of this thread when the signal was taken.
The unions below are for compatibility with Linux (whose sigcontext
components don't have sc_ prefix) */
@@ -109,4 +155,6 @@
 
 #endif
 
+#endif
+
 #endif /* _BITS_SIGCONTEXT_H */

Modified: trunk/glibc-2.3-head/sysdeps/kfreebsd/x86_64/bits/sigcontext.h
===
--- trunk/glibc-2.3-head/sysdeps/kfreebsd/x86_64/bits/sigcontext.h  
2006-01-21 10:55:20 UTC (rev 1087)
+++ trunk/glibc-2.3-head/sysdeps/kfreebsd/x86_64/bits/sigcontext.h  
2006-01-21 17:11:12 UTC (rev 1088)
@@ -24,77 +24,122 @@
 #ifndef _BITS_SIGCONTEXT_H
 #define _BITS_SIGCONTEXT_H  1
 
-/*-
- * Copyright (c) 2003 Peter Wemm.
- * Copyright (c) 1986, 1989, 1991, 1993
- * The Regents of the University of California.  All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- *notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *notice, this list of conditions and the following disclaimer in the
- *documentation and/or other materials provided with the distribution.
- * 4. Neither the name of the University nor the names of its contributors
- *may be used to endorse or promote products derived from this software
- *without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
- * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
- * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
- * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
- * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
- * OUT OF THE USE OF THIS SOFTWARE

Free shopping cart and online store solution

2006-01-21 Thread [EMAIL PROTECTED]
Store shopping cart is a free online store and shopping cart solution! With 
Store shopping cart, you can start your e-commerce dream within minutes just by 
pointing & clicking. It's as easy as: 

1. Select template, create Web pages and contents. 
2. Add categories, products, and upload photos. 
3. Select payment methods and start selling! 

To find out more, please visit our website at:
http://www.storeshoppingcart.com

Why Store shopping cart?
-Free online store 
-Free shopping cart 
-No setup fee 
-No transaction fee 
-No hidden fee 
-No banner advertisement 
-No long term contract 
-Free search engines submission 
 
Features include:
-100+ professional templates 
-Real-time credit card transactions 
-Free SSL secure checkout 
-Support tangible & intangible goods 
-Free premium hosting 
-Your own domain name 
-Free Webmail 
-Statistics and reports 

For complete features, visit:
http://www.storeshoppingcart.com/features.asp


Regards,
Adam Wayne
Director of Sales & Marketing
Email: [EMAIL PROTECTED]
Website: http://www.storeshoppingcart.com
Toll Free: 1-866-487-1707


If you wish not to receive this email anymore, you can go to 
http://www.secured-hosting.com/email/unsubscribe.asp?website=storeshoppingcart.com





-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]