About FreeBSD syscall usage
yeqing.yan at intel.com
Thu Oct 22 08:38:45 UTC 2009
I’m from Intel China. Our project use FreeBSD 7.0. I have some question about syscall usage but I think mail to the wrong address before.
Is there having any doc or example about how to use these syscall?
I read $man kse, but I can not find any example about how to use it. I write some test codes to call these function but all these codes are failed.
I read $man 3 mac, but I can not find the usage about mac_syscall function.
By the way, it is said “I think that KSE was used in 5.x and 6.x and then dropped in favor of a 1:1 threading model when 7.0 was released”
Does it mean the KSE syscall can be removed from FreeBSD 7.0?
Thank you very much!
From: Kevin Kinsey [mailto:kdk at daleco.biz]
Sent: 2009年10月21日 22:18
To: Yan, Yeqing
Cc: freebsd-questions at FreeBSD.org
Subject: Re: Question about FreeBSD syscall usage
Yan, Yeqing wrote:
> I'm from Intel China. Our project use FreeBSD 7.0
> and I have some questions about the FreeBSD syscall.
> I don't know how to use these syscall below.
> Is there having some doc or example about how to use these syscall?
> Thank you very much!
> Best Regards
> Yan, Yeqing
You might want to write to "hackers at freebsd.org" ...
... some of those guys *wrote* these syscalls. However,
since it's a question, I'll take a stab at it.
Have you read:
$man 3 mac
$man libthr ?
Also, see www.freebsd.org/kse/
However, I think that KSE was used in 5.x and 6.x
and then dropped in favor of a 1:1 threading model
when 7.0 was released (I'm sure some "hacker@" can
correct this information if I'm wrong).
I hope this is helpful to you.
More information about the freebsd-hackers