Reputation
588
Top tag
Next privilege 1,000 Rep.
See vote count; VIP usercard
Badges
4 22
Impact
~29k people reached

  • 0 posts edited
  • 0 helpful flags
  • 199 votes cast
Jul
10
awarded  Yearling
Jul
2
comment My process was killed but I cannot understand the kernel notice
On a run of strace I see no ioctl() calls inbetween my calls of open and ioctl using TIOCGSERIAL . It really does appear that either the open call is setting the SAK, or that the busybox implementation of setserial does not work properly. When I open /dev/ttyS0 the ASYNC_SAK bit is certainly set.
Jul
2
awarded  Self-Learner
Jul
1
accepted My process was killed but I cannot understand the kernel notice
Jul
1
awarded  Teacher
Jul
1
accepted How can I find the Secure Attention Key (SAK) on my system and can I disable it?
Jul
1
answered My process was killed but I cannot understand the kernel notice
Jul
1
comment My process was killed but I cannot understand the kernel notice
I finally managed to find a code based solution and I posted it on stackoverflow. I will add this answer here but I will accept your answer as this enabled me to identify the how and why of it all. Many thanks
Jul
1
comment My process was killed but I cannot understand the kernel notice
Thankyou for your answer - it is very helpful. Unfortunately, when my application is opening the serial port, the sak that I just disabled gets re-enabled. I must be setting a particular flag combination that is re-enabling the SAK on /dev/ttyS0
Jun
28
revised My process was killed but I cannot understand the kernel notice
added 567 characters in body
Jun
27
asked How can I find the Secure Attention Key (SAK) on my system and can I disable it?
Jun
27
revised My process was killed but I cannot understand the kernel notice
added 358 characters in body
Jun
27
revised My process was killed but I cannot understand the kernel notice
added 7 characters in body
Jun
27
comment My process was killed but I cannot understand the kernel notice
@MichaelKjörling Thanks for that - I will take a look.
Jun
27
asked My process was killed but I cannot understand the kernel notice
Jun
18
awarded  Benefactor
Jun
18
accepted What mount option to use for ext3 file system to minimise data loss or corruption?
Jun
18
awarded  Nice Question
Jun
12
awarded  Promoter
Jun
10
asked What mount option to use for ext3 file system to minimise data loss or corruption?