Skip to content

Commit 1ba58f1

Browse files
committed
Merge tag 'seccomp-6.10-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux
Pull seccomp update from Kees Cook: - Prepare for sysctl table constification * tag 'seccomp-6.10-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux: seccomp: Constify sysctl subhelpers
2 parents 0c9f4ac + e406737 commit 1ba58f1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

kernel/seccomp.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2334,7 +2334,7 @@ static bool seccomp_actions_logged_from_names(u32 *actions_logged, char *names)
23342334
return true;
23352335
}
23362336

2337-
static int read_actions_logged(struct ctl_table *ro_table, void *buffer,
2337+
static int read_actions_logged(const struct ctl_table *ro_table, void *buffer,
23382338
size_t *lenp, loff_t *ppos)
23392339
{
23402340
char names[sizeof(seccomp_actions_avail)];
@@ -2352,7 +2352,7 @@ static int read_actions_logged(struct ctl_table *ro_table, void *buffer,
23522352
return proc_dostring(&table, 0, buffer, lenp, ppos);
23532353
}
23542354

2355-
static int write_actions_logged(struct ctl_table *ro_table, void *buffer,
2355+
static int write_actions_logged(const struct ctl_table *ro_table, void *buffer,
23562356
size_t *lenp, loff_t *ppos, u32 *actions_logged)
23572357
{
23582358
char names[sizeof(seccomp_actions_avail)];

0 commit comments

Comments
 (0)