We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 21f00fb commit 028c952Copy full SHA for 028c952
kernel/patch/android/userd.c
@@ -290,7 +290,7 @@ static void before_openat(hook_fargs4_t *args, void *udata)
290
(args->local.data3 == 1) ? ORIGIN_RC_FILE : ORIGIN_RC_FILE2;
291
292
loff_t ori_len = 0;
293
- struct file *newfp = filp_open(origin_rc, O_WRONLY | O_CREAT | O_TRUNC, 0600);
+ struct file *newfp = filp_open(REPLACE_RC_FILE, O_WRONLY | O_CREAT | O_TRUNC, 0600);
294
if (!newfp || IS_ERR(newfp)) {
295
log_boot("create replace rc error: %d\n", PTR_ERR(newfp));
296
goto out;
0 commit comments