Re: Add setacl system call?

2011-07-25 Thread exorcistkiller
Thank you Robert! Another question while I'm reading the code. In ufs_acl.c, in static int ufs_getacl_posix1e(struct vop_getacl_args *ap), you commented: As part of the ACL is stored in the inode, and the rest in an EA, assemble both into a final ACL product. From what I learned from Kirk's book,

Re: HEADSUP: Call for FreeBSD Status Reports - 2Q/2011

2011-07-25 Thread Vadim Goncharov
Hi Daniel Gerzo! On Wed, 29 Jun 2011 12:46:49 +0200; Daniel Gerzo wrote: > Do not hesitate and write us a few lines; a short description about > what you are working on, what your plans and goals are, or any other > information that you consider interested is always welcome. This way > we can

Re: Kernel timers infrastructure

2011-07-25 Thread Alexander Motin
Hi. On 25.07.2011 17:13, Filippo Sironi wrote: I'm working on a university project that's based on FreeBSD and I'm currently hacking the kernel... but I'm a complete newbie. My question is: what if I have to call a certain function 10 times per second? I've seen a bit of code regarding callout_

Re: Issue with 'Unknown Error: -512'

2011-07-25 Thread Brandon Falk
On 7/25/2011 4:47 AM, Robert Watson wrote: On Mon, 18 Jul 2011, Andriy Gapon wrote: In recent branches (confirmed with 224119) builds compiled with clang happen to throw 'Unknown error: -512' in a lot of places, making the system unusable. (Untested on gcc compiled systems). Originally I tho

Re: Kernel timers infrastructure

2011-07-25 Thread Robert Watson
On Mon, 25 Jul 2011, Filippo Sironi wrote: I'm working on a university project that's based on FreeBSD and I'm currently hacking the kernel... but I'm a complete newbie. My question is: what if I have to call a certain function 10 times per second? I've seen a bit of code regarding callout_*

Kernel timers infrastructure

2011-07-25 Thread Filippo Sironi
Hi everyone, I'm working on a university project that's based on FreeBSD and I'm currently hacking the kernel... but I'm a complete newbie. My question is: what if I have to call a certain function 10 times per second? I've seen a bit of code regarding callout_* functions but I can't get through

Re: Issue with 'Unknown Error: -512'

2011-07-25 Thread Robert Watson
On Mon, 18 Jul 2011, Andriy Gapon wrote: In recent branches (confirmed with 224119) builds compiled with clang happen to throw 'Unknown error: -512' in a lot of places, making the system unusable. (Untested on gcc compiled systems). Originally I thought the problem was with specific programs,

Re: Finding symlink information in MAC Framework

2011-07-25 Thread Robert Watson
On Fri, 15 Jul 2011, s wrote: I am trying to get some information related to the symlink which is being accessed by the user in MAC Framework. Currently I managed to get the uid/gid of the owner of the symlink that is being read, but now I need to get the same information about the target, th

Re: Add setacl system call?

2011-07-25 Thread Robert Watson
On Sun, 24 Jul 2011, exorcistkiller wrote: Hi, I'm working on a course project in which I need to add 3 system calls. One of which is setacl(char *name, int type, int idnum, int perms), which set acl for a file specified by name. I used newfs as in ftp://ftp.tw.freebsd.org/pub/FreeBSD/FreeBSD