9 questions from the last 7 days
-1
votes
0
answers
37
views
Microphone Problem in Arch Linux KDE Plasma 6 Wayland [closed]
I am using arch linux kde plasma wayland so the problem i am facing is that whenever i turn on my microphone for voice typing or like voice search or anything it doesn't works but same i try on ...
0
votes
0
answers
95
views
File IO in C++ (or C) without the overhead of copying between two buffers with Linux Systems [closed]
I'm interested to understand more about performing file IO operations with systems programming languages in a way which does not use both a kernel space buffer and a user space buffer.
Specifically I ...
-3
votes
0
answers
42
views
OpenSSL 3.5.0 keyupdate with KTLS [closed]
I implemented a TLS 1.3 server in C with OpenSSL 3.5.0 with ktls enabled. I see an issue with keyupdate which I don't see on userspace tls. I use OpenSSL 3.5.0 s_client as client. I send keyupdate ...
2
votes
1
answer
38
views
Handshake fails with RST after destination address modification of TCP packets in Netfilter hooks
I am implementing a destination NAT-like behavior by hooking into NF_INET_PRE_ROUTING and NF_INET_LOCAL_OUT to modify the destination IP address and recalculate the checksums.
nf_tracer_handler(void *...
0
votes
0
answers
23
views
No gcc compiling log "CC [M] " showing up when build external modules using linux rpi-5.10.y
environment
OS: Arch Linux x86_64
Host: Windows Subsystem for Linux - archlinux (2.6.2.0)
Kernel: Linux 6.6.87.2-microsoft-standard-WSL2
compiler: aarch64-linux-gnu-gcc 15.1.0 Using built-in specs.
...
Advice
0
votes
2
replies
33
views
can I use dup2() to send output to stdout instead of a Unix Domain Socket?
It's seems easy to find examples of using dup2() to cause output (originally) intended for stdout to instead go to a socket:
char *stdoutMsg = "This message will be sent to stdout\n";
write(...
3
votes
2
answers
111
views
Question about retry logic in usb-skeleton.c skel_read()
I'm a computer science undergraduate student studying Linux kernel USB device drivers.
While analyzing the skel_read() function in usb-skeleton.c, I noticed what seems like inconsistent retry logic. I'...
0
votes
0
answers
70
views
`btvirt` (virtualized BlueTooth) with TrouBLE [closed]
Desired behavior
Have the central make a connection with the peripheral.
The "trouBLE" I run in to
The central code returns directly a BleHost(Timeout) error, even with adjusted settings
I'...
3
votes
1
answer
114
views
Java shell pipeline: `head` command doesn't output lines until it receives the expected number, even with `tail -f`
I'm building a shell in Java and currently implementing pipeline logic. For inter-process communication, I've created this class:
public class PipeConnector implements Runnable {
private final ...