[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-XBoard] [bug #31634] Bad path results in segmentation fault

From: h.g. muller
Subject: Re: [Bug-XBoard] [bug #31634] Bad path results in segmentation fault
Date: Sat, 13 Nov 2010 08:18:28 +0100

At 15:18 12-11-2010 -0800, Adrian Petrescu wrote:
I believe the "~" shorthand is something that the shells expand, not something the kernel inherently knows about. Indeed, I doubt the kernel knows anything about something that high-level at all. But there may be some standard function to do this translation.

Well, the kernel knows for instance which devices are mounted, and does not leave it to the shell too figure out that /C: actually means /dev/sda1 when you mounted the latter on /C:. In my mind this was a similar thing, where you have to look in the password file rather than in the mount table.

But even if it is no kernel funtion, it could of course be implemented in the library call for fopen.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]