The Unix Heritage Society mailing list
 help / color / mirror / Atom feed
From: ron@ronnatalie.com (Ronald Natalie)
Subject: [TUHS] Help with a Unix-ish project?
Date: Fri, 15 Jul 2016 21:56:58 -0400	[thread overview]
Message-ID: <10C565C0-73B9-41A6-A438-875E52AA54CE@ronnatalie.com> (raw)
In-Reply-To: <20160716014449.GA9414@minnie.tuhs.org>

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1109 bytes --]

BRL modified our kernel to support both the V6 and V7 file systems.   Yes there were indeed two versions of stat with hacky-conversions between the two.
We already had the kludge of “JHU Ownership” which allowed the V6 systems to work in an instrucitonal situation with more than 256 users.
If your GID >=200, your “effective” uid was the combination of the UID and GID.


> On Jul 15, 2016, at 9:44 PM, Warren Toomey <wkt at tuhs.org> wrote:
> 
> On Fri, Jul 15, 2016 at 09:32:42PM -0400, Random832 wrote:
>> Wouldn't it be easier to simply change the xv6 stat structure itself,
>> and possibly the filesystem structure as well?
> 
> Yes, but the xv6 book from MIT is something that I can't change, and I
> want to keep their goals of a minimalist OS.
> 
> I've just committed a change where the syscall is now called _Fstat(),
> and I've written a fstat() function to convert the minimal struct stat
> into a more POSIX stat structure.
> 
> I don't want to use this list as the discussion area for the project.
> I'll set another one up and we can move the conversation there.
> 
> Cheers, Warren



  reply	other threads:[~2016-07-16  1:56 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-15 22:56 Warren Toomey
2016-07-16  1:32 ` Random832
2016-07-16  1:44   ` Warren Toomey
2016-07-16  1:56     ` Ronald Natalie [this message]
2016-08-14  3:37     ` Random832

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=10C565C0-73B9-41A6-A438-875E52AA54CE@ronnatalie.com \
    --to=ron@ronnatalie.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).