Re: [PATCH] exporting capability code/name pairs (try #4)

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Andrew G. Morgan <morgan@...>
Cc: Serge E. Hallyn <serue@...>, <akpm@...>, <jmorris@...>, <linux-kernel@...>, <linux-security-module@...>
Date: Monday, February 11, 2008 - 8:56 pm

Andrew G. Morgan wrote:

Sysfs does not support to create symbolic links to regular files now.

The sysfs_create_link() is a function to create a symbolic link on sysfs.
However, it requires two kobjects as its arguments. One is to specify its
parent directory, the other is to specify the target of indirection.
It means the indicated target have to be a directory.

At include/linux/sysfs.h:
int __must_check sysfs_create_link(struct kobject *kobj, struct kobject *target,
                                    const char *name);

Please tell me, if I have any misunderstandings.

Thanks,
-- 
OSS Platform Development Division, NEC
KaiGai Kohei <kaigai@ak.jp.nec.com>
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] exporting capability code/name pairs (try #4), Kohei KaiGai, (Fri Feb 8, 5:42 am)
Re: [PATCH] exporting capability code/name pairs (try #4), Serge E. Hallyn, (Tue Feb 12, 2:08 pm)
[PATCH] exporting capability code/name pairs (try #5), Kohei KaiGai, (Thu Feb 14, 9:38 pm)
Re: [PATCH] exporting capability code/name pairs (try #5.1), Serge E. Hallyn, (Fri Feb 15, 2:38 pm)
Re: [PATCH] exporting capability code/name pairs (try #5.1), Serge E. Hallyn, (Mon Feb 18, 11:15 am)
[PATCH] exporting capability code/name pairs (try #6), Kohei KaiGai, (Wed Feb 20, 12:39 am)
[PATCH] exporting capability code/name pairs (try #6), Kohei KaiGai, (Wed Feb 20, 12:38 am)
Re: [PATCH] exporting capability code/name pairs (try #4), Alexey Dobriyan, (Fri Feb 8, 3:23 pm)
Re: [PATCH] exporting capability code/name pairs (try #4), Alexey Dobriyan, (Tue Feb 12, 5:58 pm)
Re: [PATCH] exporting capability code/name pairs (try #4), Andrew G. Morgan, (Fri Feb 8, 12:48 pm)
Re: [PATCH] exporting capability code/name pairs (try #4), Kohei KaiGai, (Mon Feb 11, 8:56 pm)