Re: memory_object_lock_request and memory_object_data_return fnord

2002-03-24 Thread Roland McGrath
> I called it __mach_memcpy so that we can be sure to get the vm_copy > version in particular cases such as this. For pager_memcpy you'd still have to set up the fault handling around the mach_memcpy call, so it remains better for pager_memcpy to have its own check up front.

Re: memory_object_lock_request and memory_object_data_return fnord

2002-03-24 Thread Roland McGrath
> I was thinking along the lines of changing the __memcpy's found in > libc/sysdep/i386/{,i[456]86}/memcpy.S et al. to __real_memcpy and then > having a libc/sysdep/mach/memcpy.c do: Eh, that's only half of it. memcpy is as likely to be inlined in the bits/string.h magic, or by the compiler. An

Re: zealous use of error

2002-03-24 Thread Neal H Walfield
> @@ -1,5 +1,5 @@ > /* Run a program on the console, trying hard to get the console open. > - Copyright (C) 1999, 2001 Free Software Foundation, Inc. > + Copyright (C) 1999, 2001,02 Free Software Foundation, Inc. In the future, you should use more consistent spacing. > + if (err) >

Re: zealous use of error

2002-03-24 Thread Neal H Walfield
[EMAIL PROTECTED] (Thomas Bushnell, BSG) writes: > James A Morrison <[EMAIL PROTECTED]> writes: > > > init: > > * init.c (reboot_mach): Use err, not errno. > > (run): Likewise. > > (lauch_core_servers): Likewise. > > (run_for_real): Check against MACH_PORT_NULL instead of not(!)

Re: memory_object_lock_request and memory_object_data_return fnord

2002-03-24 Thread Neal H Walfield
> I am pretty dubious about modifying memcpy at this point. There are a lot > of different implementations in libc, and they are being further tweaked > all the time. There are both assembly implementations and inline-macro > implementations, and many of each for all the tiny variants of chip th

Re: two bugs in libio environment

2002-03-24 Thread Roland McGrath
I think that fshelp_isowner in libfshelp/perms-isowner.c should be the only place making this decision. So you can hack that function to print out details when it makes a negative decision, if it's not convenient to just debug the filesystem and set a breakpoint there. There should not be any so

Re: two bugs in libio environment

2002-03-24 Thread Marcus Brinkmann
On Sun, Mar 24, 2002 at 09:06:55PM -0800, Jeff Bailey wrote: > On Sun, Mar 24, 2002 at 11:04:46PM -0500, Marcus Brinkmann wrote: > > > The second bug that does not happen as often is that a program hangs > > without outputting anything (well, I am not sure _which_ program > > hangs, so it might a

Re: two bugs in libio environment

2002-03-24 Thread Marcus Brinkmann
On Sun, Mar 24, 2002 at 11:04:46PM -0500, Marcus Brinkmann wrote: > Sometimes creating a file fails with ENOPERM for no apparent reason. > This is not reproducible, trying again creates the file just fine. > (For example, gcc fails to create a tmp file, or install can not install > a file). Can t

Re: two bugs in libio environment

2002-03-24 Thread Jeff Bailey
On Sun, Mar 24, 2002 at 11:04:46PM -0500, Marcus Brinkmann wrote: > The second bug that does not happen as often is that a program hangs > without outputting anything (well, I am not sure _which_ program > hangs, so it might also be in the middle of output, but only at the > start of a new line).

Re: two bugs in libio environment

2002-03-24 Thread Marcus Brinkmann
On Sun, Mar 24, 2002 at 11:04:46PM -0500, Marcus Brinkmann wrote: > Sometimes creating a file fails with ENOPERM for no apparent reason. > This is not reproducible, trying again creates the file just fine. > (For example, gcc fails to create a tmp file, or install can not install > a file). Can t

two bugs in libio environment

2002-03-24 Thread Marcus Brinkmann
Hi, I have stressted the libioenvironment a bit today. As this is a fresh build, there might still be issues that can be contributed to build weirdness, but it seems unlikely to me. Sometimes creating a file fails with ENOPERM for no apparent reason. This is not reproducible, trying again creat

[±¤°í]À̺êTV°¡ ¸»ÇÑ´Ù..

2002-03-24 Thread ¼Ò¶ó
Title: ¼ºÀθÞÀÏ º» ¸ÞÀÏÀº Á¤º¸Åë½ÅºÎ ±Ç°í »çÇ׿¡ ÀǰŠÁ¦¸ñ¿¡ [±¤°í]¶ó Ç¥½ÃµÈ ±¤°í ¸ÞÀÏÀÔ´Ï´Ù. ¼ö½Å°ÅºÎ ¹öưÀ» Ŭ¸¯ÇÏ½Ã¸é ¼ö½Å°ÅºÎ󸮰¡ ÀÌ·ç¾î Áý´Ï´Ù. ___ Bug-hurd mailing list [EMAIL PROTECTED] http

follow up on make-protid

2002-03-24 Thread James A Morrison
Hi, Here is the follow-up patch that allows netfs_make_protid to only set errno on failure. I've followed the examples uses of netfs_make_protid already in libnetfs, so this should confirm the interface for netfs_make_protid. I've included the diff for make-protid as well. I did a quic

Re: zealous use of error

2002-03-24 Thread Thomas Bushnell, BSG
James Morrison <[EMAIL PROTECTED]> writes: > Previously netfs_make_protid set errno, no matter what. So to keep this > behaviour the patch would look like this. There is no need to always set errno (though you should check all the callers to make sure--which needed to be done first anyway). A

Re: zealous use of error

2002-03-24 Thread James Morrison
--- "Thomas Bushnell, BSG" <[EMAIL PROTECTED]> wrote: > James A Morrison <[EMAIL PROTECTED]> writes: > > > libnetfs: > > * make-protid.c (netfs_make_protid): Use err, not errno. > > This one is incorrect; it changes the established interface of > netfs_make_protid, which is that errno is se

Re: memory_object_lock_request and memory_object_data_return fnord

2002-03-24 Thread Roland McGrath
I am pretty dubious about modifying memcpy at this point. There are a lot of different implementations in libc, and they are being further tweaked all the time. There are both assembly implementations and inline-macro implementations, and many of each for all the tiny variants of chip that exist

Re: zealous use of error

2002-03-24 Thread Thomas Bushnell, BSG
James A Morrison <[EMAIL PROTECTED]> writes: > init: > * init.c (reboot_mach): Use err, not errno. > (run): Likewise. > (lauch_core_servers): Likewise. > (run_for_real): Check against MACH_PORT_NULL instead of not(!) for > failure. > (start_child): Likewise.

Re: zealous use of error

2002-03-24 Thread Thomas Bushnell, BSG
James A Morrison <[EMAIL PROTECTED]> writes: > libnetfs: > * make-protid.c (netfs_make_protid): Use err, not errno. This one is incorrect; it changes the established interface of netfs_make_protid, which is that errno is set on error returns. See, for example, libnetfs/fsys-getroot.c whic

Re: zealous use of error

2002-03-24 Thread Roland McGrath
You changed the interval in timertest from 1 to 4 without comment or change log entry. I did not check that your log entries were exhaustive, please double-check against your own patches when writing the log entries (that's what I always do). Other than that, these changes look ok. If Marcus

fetch_boot_time () to libshouldbeinlibc or libhurduser

2002-03-24 Thread James Morrison
There is a function in utils/w.c called fetch_boot_time (). Moving this function to a hurd libraries would make it much simpler for people to write there own uptime programs for GNU Hurd and any other application that might want to get the systems boot time, like procfs. = James Morrison

Re: make check

2002-03-24 Thread Marcus Brinkmann
On Sun, Mar 24, 2002 at 07:52:08AM -0800, James Morrison wrote: > I'm curious what types of checks would be in a make check target for the > hurd. > Would have to be run in a sub-hurd to test all the hurd translators and libc > functions? Should the test programs be compiled within that test su

Re: make check

2002-03-24 Thread Jeff Bailey
On Sun, Mar 24, 2002 at 07:52:08AM -0800, James Morrison wrote: > I'm curious what types of checks would be in a make check target > for the hurd. Would have to be run in a sub-hurd to test all the > hurd translators and libc functions? Should the test programs be > compiled within that test

make check

2002-03-24 Thread James Morrison
Hi, I'm curious what types of checks would be in a make check target for the hurd. Would have to be run in a sub-hurd to test all the hurd translators and libc functions? Should the test programs be compiled within that test sub-hurd? = James Morrison University of Waterloo Comput

zealous use of error

2002-03-24 Thread James A Morrison
Hi, Here is my patch that is overzealous in the use of error ;) I didn't touch any code that was copyrighted UC Berkeley or CMU, nor did I touch any code that didn't compile already. This patch includes the previous patch because they are related. I changed symlink so that it checks the n

[È«º¸] Á¦¾È, ½Å°³³ä ¸¶ÄÉÆÃÀü·«

2002-03-24 Thread À̸ÞÀÏÈ«º¸
  º» ¸ÞÀÏÀº Á¤º¸Åë½ÅºÎ ±Ç°í »çÇ׿¡ ÀǰŠÁ¦¸ñ¿¡ [±¤°í]¶ó Ç¥½ÃµÈ ±¤°í ¸ÞÀÏÀÔ´Ï´Ù.´õ ÀÌ»ó ¸ÞÀÏÀ» ¼ö½ÅÇÏ°í ½ÍÁö ¾ÊÀ¸½Ã¸é <¼ö½Å ´ç¿¬È÷ °ÅºÎ>¸¦ Ŭ¸¯ÇØ ÁֽʽÿÀ. º» ³»¿ëÀº ½ºÆÔ¸ÞÀÏÀÇ À¯Çü¿¡ ¾Æ¹«°Íµµ ¼ÓÇÏÁö ¾Ê½À´Ï´Ù.(ÇǶó¹Ìµå,  Çà¿îÀÇÆíÁö, ¼ºÀΰü·ÃÈ«º¸ µî)¶ÇÇÑ °¢ »çÀÌÆ®ÀÇ °ø°³°Ô½ÃÆÇ¿¡¼­ ÀÓÀÇÃßÃâÇ

Re: mach-defpager/serverboot changes (tmpfs too)

2002-03-24 Thread Jeroen Dekkers
On Sat, Mar 23, 2002 at 06:53:09PM -0800, Jeff Bailey wrote: > On Sat, Mar 23, 2002 at 08:38:37PM -0500, Roland McGrath wrote: > > > I don't expect that anyone is still using serverboot since we've had > > boot script support in the kernel for a while now. > > I have been actively recommending s

图文设计印刷,网页设计,企业宣传片,影视制作,

2002-03-24 Thread bug-hurd-admin
=?GB2312?B?INCnufvNvA==?= To: [EMAIL PROTECTED] Content-Type: text/plain; Date: Sun, 24 Mar 2002 18:23:53 +0800 X-Priority: 3 X-Library: Caretop Library X-Mailer: Caretop 2604 ͼÎÄÉè¼ÆÓ¡Ë¢£¬ÍøÒ³Éè¼Æ£¬ÆóÒµÐû´«Æ¬£¬Ó°ÊÓÖÆ×÷, Ч¹ûͼ ¶àýÌå¹âÅÌ£¬Èýά¶¯»­£¬·ÇÏßÐԱ༭ϵͳ£¬¹âÅÌ¿Ìѹ ±±¾©ÓîÈóÐÂÌìÓ°ÊÓÍ

图文设计印刷,网页设计,企业宣传片,影视制作,

2002-03-24 Thread bug-hurd-admin
=?GB2312?B?INCnufvNvA==?= To: [EMAIL PROTECTED] Content-Type: text/plain; Date: Sun, 24 Mar 2002 18:24:09 +0800 X-Priority: 3 X-Library: Caretop Library X-Mailer: Caretop 2604 ͼÎÄÉè¼ÆÓ¡Ë¢£¬ÍøÒ³Éè¼Æ£¬ÆóÒµÐû´«Æ¬£¬Ó°ÊÓÖÆ×÷, Ч¹ûͼ ¶àýÌå¹âÅÌ£¬Èýά¶¯»­£¬·ÇÏßÐԱ༭ϵͳ£¬¹âÅÌ¿Ìѹ ±±¾©ÓîÈóÐÂÌìÓ°ÊÓÍ

´ë´ÜÈ÷ °¨»çÇÕ´Ï´Ù....

2002-03-24 Thread William
Title: Casinoever.com     ¡Ø Çã¶ô¾øÀÌ ¸ÞÀÏ º¸³½Á¡ »ç°úµå¸³´Ï´Ù. ÀÌ ¸ÞÀÏÀº À¥¼­ÇÎÁß ¹«ÀÛÀ§·Î ÃßÃâµÈ Áּҷμ­

[아이티에스뱅크 뉴스레터 제3호]안녕하세요? 3월 다섯째주 정기소식입니다. [정보,홍보]

2002-03-24 Thread 아이티에스뱅크
Title: ¾ÆÀÌÆ¼¿¡½º¹ðÅ© ´º½º·¹ÅÍ 365ÀÏ ¾ÈÀüÀ» »ý°¢ÇÏ´Â ¾ÆÀÌÆ¼¿¡½º¹ðÅ© ´º½º·¹ÅÍ Á¦3È£ 2002³â 3¿ù ´Ù¼¸Â°ÁÖ

图文设计印刷,网页设计,企业宣传片,影视制作,

2002-03-24 Thread bug-hurd-admin
=?GB2312?B?INCnufvNvA==?= To: [EMAIL PROTECTED] Content-Type: text/html; Date: Sun, 24 Mar 2002 17:25:05 +0800 X-Priority: 3 X-Library: Caretop Library X-Mailer: Caretop 2604 BODY { COLOR: #99; FONT-FAMILY: ËÎÌå, Trebuchet MS, Verdana; FONT-SIZE: 9pt; MARGIN-LEFT: 30px; MARGIN-TO

图文设计印刷,网页设计,企业宣传片,影视制作,

2002-03-24 Thread bug-hurd-admin
=?GB2312?B?INCnufvNvA==?= To: [EMAIL PROTECTED] Content-Type: text/html; Date: Sun, 24 Mar 2002 17:26:04 +0800 X-Priority: 3 X-Library: Caretop Library X-Mailer: Caretop 2604 BODY { COLOR: #99; FONT-FAMILY: ËÎÌå, Trebuchet MS, Verdana; FONT-SIZE: 9pt; MARGIN-LEFT: 30px; MARGIN-TO