Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Autorun script location #9

Open
SereneGuy opened this issue Oct 16, 2021 · 0 comments
Open

Autorun script location #9

SereneGuy opened this issue Oct 16, 2021 · 0 comments

Comments

@SereneGuy
Copy link

Hi,

I installed x11vnc and I want to make it autorun at startup. I already set it as a service, but it didn't run. I would like to know where the startup (autorun) script is in Tinkerboard 2S (Debian 10 - Buster).

I saw an old post that in 2S the startup script is the same as the one in previous generation, which is /system/etc/init.asus.sh

So, I put the command in there, reboot, but it doesn't autorun. I set the permission to be executable (chmod 755).

I also experimented by putting it in /boot/cmdline.txt - no luck.

Where is the startup script location?

asus-leslieyu pushed a commit that referenced this issue May 20, 2022
…after failed connect

It's possible to trigger NULL pointer dereference by local unprivileged
user, when calling getsockname() after failed bind() (e.g. the bind
fails because LLCP_SAP_MAX used as SAP):

  BUG: kernel NULL pointer dereference, address: 0000000000000000
  CPU: 1 PID: 426 Comm: llcp_sock_getna Not tainted 5.13.0-rc2-next-20210521+ #9
  Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.14.0-1 04/01/2014
  Call Trace:
   llcp_sock_getname+0xb1/0xe0
   __sys_getpeername+0x95/0xc0
   ? lockdep_hardirqs_on_prepare+0xd5/0x180
   ? syscall_enter_from_user_mode+0x1c/0x40
   __x64_sys_getpeername+0x11/0x20
   do_syscall_64+0x36/0x70
   entry_SYSCALL_64_after_hwframe+0x44/0xae

This can be reproduced with Syzkaller C repro (bind followed by
getpeername):
https://syzkaller.appspot.com/x/repro.c?x=14def446e00000

Cc: <[email protected]>
Fixes: d646960 ("NFC: Initial LLCP support")
Reported-by: [email protected]
Reported-by: butt3rflyh4ck <[email protected]>
Signed-off-by: Krzysztof Kozlowski <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Change-Id: I4dbffb877b3eb9c9ed4c107db26ea0753c856782
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant