Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-Id: <200201101510.g0AFA3r03758@dymwsm12.mailwatch.com> From: "Fleischer, Karsten (K.)" To: "'Corinna Vinschen'" Subject: RE: ksh on cygwin Date: Thu, 10 Jan 2002 10:09:59 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2655.15) Content-Type: text/plain; charset="iso-8859-1" HOP-COUNT: 1 X-MAILWATCH-INSTANCEID: 010200030a0a9c77-ad8c-4c44-8d27-a2c704323abc X-OriginalArrivalTime: 10 Jan 2002 15:10:03.0516 (UTC) FILETIME=[E15793C0:01C199E8] > > Glenn found some test cases where mmap() failed and has > also written a nice test program. I will get this to you later. > > He also states that the value returned by getpagesize() > must conform to mmap() alignment by definition in the SUSv2. > I'm not quite sure about that, though. > > See my reply to Robert. It's just an example. I don't have another > reason at hand now but we already considered that change and we > actually *had* reasons to avoid it. Perhaps Chris can help out here. OK. > But, uhm, what exactly is a `superuser' from your point of view? > We don't have that concept except for SYSTEM as _the_ user which > is able to change user context w/o changing security policies. > And on 9x/Me... Does the SYSTEM user have uid == 0? Does any user have an uid == 0? If not then it does not matter anyway. I can just leave it as it is. If in future some superuser concept might find it's way into Cygwin, this $SHELL stuff is safe already. Oh, I forgot to mention that I changed the rename() logic a bit. rename("a", "b"): If "a" is really "a.exe" it is renamed to "b.exe" rename("a", "b.suffix"): If "a" is really "a.exe" it is nevertheless renamed to "b.suffix". The ".suffix" implies that the user knows what she's doing. rename("a.exe", "b"): The ".exe" suffix implies that the user knows what she's doing, too, so "a.exe" is renamed to "b" This also holds for link(). I've taken that from UWIN, too. Karsten -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/