[PATCH 1/2] security: Move LSM registration arguments to struct lsm_info

Casey Schaufler casey at schaufler-ca.com
Tue May 29 23:12:51 UTC 2018


On 5/29/2018 3:54 PM, James Morris wrote:
> On Thu, 17 May 2018, Sargun Dhillon wrote:
>
>>  struct security_hook_list {
>> -	struct hlist_node		list;
>> -	struct hlist_head		*head;
>> -	union security_list_options	hook;
>> -	char				*lsm;
>> +	struct hlist_node			list;
>> +	struct hlist_head			*head;
>> +	const union security_list_options	hook;
>> +	struct lsm_info				*info;
> Kees asked if this field should be const in response to your 01 May 
> posting.  Please address this.
>
> Also, I'd love to see more folk review & ack these patches.

Unless there is serious interest in loadable security
module support there isn't a lot of value to be gained
with this patch set. I am officially agnostic on the topic.
I know that there has been significant resistance to the
facility in the past. I will put more effort into review
if [un]loadable modules have a future.

--
To unsubscribe from this list: send the line "unsubscribe linux-security-module" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html



More information about the Linux-security-module-archive mailing list