mirror of
https://github.com/tbsdtv/linux_media.git
synced 2025-07-23 04:33:26 +02:00
Merge branch 'akpm' (patches from Andrew)
Merge yet more updates from Andrew Morton: - More MM work. 100ish more to go. Mike Rapoport's "mm: remove __ARCH_HAS_5LEVEL_HACK" series should fix the current ppc issue - Various other little subsystems * emailed patches from Andrew Morton <akpm@linux-foundation.org>: (127 commits) lib/ubsan.c: fix gcc-10 warnings tools/testing/selftests/vm: remove duplicate headers selftests: vm: pkeys: fix multilib builds for x86 selftests: vm: pkeys: use the correct page size on powerpc selftests/vm/pkeys: override access right definitions on powerpc selftests/vm/pkeys: test correct behaviour of pkey-0 selftests/vm/pkeys: introduce a sub-page allocator selftests/vm/pkeys: detect write violation on a mapped access-denied-key page selftests/vm/pkeys: associate key on a mapped page and detect write violation selftests/vm/pkeys: associate key on a mapped page and detect access violation selftests/vm/pkeys: improve checks to determine pkey support selftests/vm/pkeys: fix assertion in test_pkey_alloc_exhaust() selftests/vm/pkeys: fix number of reserved powerpc pkeys selftests/vm/pkeys: introduce powerpc support selftests/vm/pkeys: introduce generic pkey abstractions selftests: vm: pkeys: use the correct huge page size selftests/vm/pkeys: fix alloc_random_pkey() to make it really random selftests/vm/pkeys: fix assertion in pkey_disable_set/clear() selftests/vm/pkeys: fix pkey_disable_clear() selftests: vm: pkeys: add helpers for pkey bits ...
This commit is contained in:
@@ -106,19 +106,19 @@ static int load_script(struct linux_binprm *bprm)
|
||||
retval = remove_arg_zero(bprm);
|
||||
if (retval)
|
||||
return retval;
|
||||
retval = copy_strings_kernel(1, &bprm->interp, bprm);
|
||||
retval = copy_string_kernel(bprm->interp, bprm);
|
||||
if (retval < 0)
|
||||
return retval;
|
||||
bprm->argc++;
|
||||
*((char *)i_end) = '\0';
|
||||
if (i_arg) {
|
||||
*((char *)i_sep) = '\0';
|
||||
retval = copy_strings_kernel(1, &i_arg, bprm);
|
||||
retval = copy_string_kernel(i_arg, bprm);
|
||||
if (retval < 0)
|
||||
return retval;
|
||||
bprm->argc++;
|
||||
}
|
||||
retval = copy_strings_kernel(1, &i_name, bprm);
|
||||
retval = copy_string_kernel(i_name, bprm);
|
||||
if (retval)
|
||||
return retval;
|
||||
bprm->argc++;
|
||||
|
Reference in New Issue
Block a user