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

RE: [MiNT] cookies, was: ext2fs



> From: owner-mint@fishpool.com [mailto:owner-mint@fishpool.com]On Behalf
> Of Martin-Eric Racine
> Sent: Tuesday, May 04, 1999 4:52 PM
> To: Frank Naumann
> Cc: MiNT mailing list
> Subject: Re: [MiNT] cookies, was: ext2fs
>
>
> > It's a very bad design in general to use the Cookie Jar for Pointers or
> > Entry Points to critical system data and/or system routines.
>
> What if those cookies were read-only?  TIME/DATe would still work
> as expected then.

a) maintaining them still would cost time,

b) cookies are always writeable. if you mean that the pointers point to
read-only memory -- we currently can't enforce this in MiNT.

and finally

c) this functionality can easily reproduced by a daemon, thus IT DOES NOT
BELONG INTO THE KERNEL.

Regards, jr