Source-Changes-D archive

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

re: CVS commit: src/sys/compat/linux/common



On Jan 9, 12:33pm, mrg%eterna.com.au@localhost (matthew green) wrote:
-- Subject: re: CVS commit: src/sys/compat/linux/common

| Christos Zoulas writes:
| > On Jan 9, 12:44am, maya%netbsd.org@localhost (maya%netbsd.org@localhost) wrote:
| > -- Subject: Re: CVS commit: src/sys/compat/linux/common
| > 
| > | Why not add a signal?
| > 
| > It is complicated to do so. It will even change the sigmask size.
| 
| it will?  don't we have support for upto 128 signals there?
| 
| 1.2          (thorpej  18-Jan-03): typedef struct {
| 1.2          (thorpej  18-Jan-03):      __uint32_t      __bits[4];
| 1.2          (thorpej  18-Jan-03): } sigset_t;
| 
| there might be some issues, but i was fairly sure when we went
| beyond the old 32 signals we made it upto 128.
| 
| we should be able to make it work in the kernel, at least.

You need to look at the compat code for linux... Ours is fine I think.
We use the NSIG linux macro to compute the words. Yes, it can be done,
but it requires more changes.

christos


Home | Main Index | Thread Index | Old Index