Skip to main content
Filter by
Sorted by
Tagged with
2 votes
0 answers
121 views

Why is epoll not signalling EPOLLIN for anonymous pipe read end when all write ends have been closed and there is no more data to read? This seems to differ from the behaviour with TCP sockets being ...
2 votes
0 answers
51 views

I am trying to build some kind of simple text editor and I am trying to get input from user but it is not unlimited, user can only input 10 bytes of memory section .bss input resb 10 info ...
0 votes
0 answers
28 views

I am writing a dictionary program with requires switching keyboard layout. I have kde set up that ctrl-alt-k switches layout. I have tried simulating the ctrl-alt-k keypress from the program but this ...
0 votes
0 answers
299 views

I'm trying to connect to a WPA2-Enterprise network with PEAP security and MSCHAPV2 for phase 2. I'm using iwd to do that (as I previously failed with wpa_supplicant and networkmanager). Successful ...
2 votes
0 answers
105 views

I'm trying to use ptrace.h to track the creation of new processes in a binary. My intent is to only allow the creation of a single process (that in the future I will also track what it can write). To ...
1 vote
0 answers
52 views

I have problem with using libraries for C++ using Conan2 and Cmake in Linux. Files are: CMakeList.txt in root: cmake_minimum_required(VERSION 3.5) set(CMAKE_CXX_COMPILER "/usr/bin/clang++") ...
0 votes
0 answers
107 views

After the RHEL8 Patching , Suddenly we started noticing this on our servers and Interesting thing is it is working in other environments which are patched with same versions. Environment details : ...
1 vote
0 answers
109 views

I have been trying to run a Python script that goes into a website using Selenium. Scrape some data and check with a text file if there has been anychanges. If there is a difference send a mail to ...
1 vote
0 answers
89 views

I have an interactive graphics application that run with X11 server. Graphics output can be produced with a means of software rendering(update pixel buffer with a CPU), as well as by the means of ...
0 votes
0 answers
47 views

I am writing a Python 3-based server/client program using a Unix-domain socket. I am trying to build the server such that only a single client can connect to the server and subsequent connect() calls ...
0 votes
0 answers
46 views

the nfcpy doc describe five way to select a usb nfc reader : >>> import nfc >>> clf = nfc.ContactlessFrontend() >>> assert clf.open('usb:003:009') is True # open device 9 ...
2 votes
0 answers
97 views

I have a socket for which I set the receive timeout like this: timeval const tv{.tv_sec = 5}; setsockopt(sock, SOL_SOCKET, SO_RCVTIMEO, &tv, sizeof(tv)); I have one place in the code that I ...
0 votes
0 answers
25 views

I've created a custom visual studio code extension pack containing extensions I like to use for Python development. I opted to go for a manual distribution and package my extension pack with a .vsix ...
0 votes
0 answers
57 views

I'm writing a semi-realtime application for an embedded board running BusyBox which packages and sends some telemetry data (around 100KB) on a TCP socket every 100 milliseconds. This board uses the ...
1 vote
0 answers
57 views

I'm working on isolating namespaces using clone() in a Linux environment and I have a question regarding CIFS mounts. If I use clone() to isolate the network namespace (and potentially other ...
0 votes
0 answers
215 views

Lately, I found why rootless podman was unable to run containers with some of the constraints: $ podman run --tty=true --rm --cpuset-cpus=0-3 ubuntu:latest pwd Error: runc: runc create failed: unable ...
1 vote
0 answers
128 views

I'm encountering an issue when building Docker images using docker compose build. The build process fails with the following error: curl: (6) Could not resolve host: deb.nodesource.com This issue ...
0 votes
0 answers
50 views

I am trying to get the location using org.freedesktop.GeoClue2.Location but i have the error cannot deserialyze type Location. I don't no why. Stack trace: at Tmds.DBus.Signature.GetSig(Type type, ...
1 vote
0 answers
94 views

I cannot easily read black letters displayed on my bright-white (foreground) on dark-ish blue (background) terminal window. I want to change all the black output from a colorized git diff to some ...
3 votes
0 answers
72 views

I am looking for ways to prevent file deletion using eBPF LSM hooks. I have previously looked into pure LSM solution without eBPF but I had to give up on that because that would have required me to ...
0 votes
0 answers
30 views

When memory-hotplugged, new memblock nodes will be added by using standard Linux kernel API: *add_memory_driver_managed() -> add_memory_resource() -> memblock_add_node() -> memblock_add_range(...
2 votes
0 answers
76 views

I'm working with libfabric and trying to specify a source port for my application. I've set up my fi_info structure and assigned the source address and port, but it doesn't seem to be working as ...
0 votes
0 answers
112 views

I’m working on an STM32MP157F-EV1 board and encountering this error: warning: FBIOPUT_VSCREENINFO failed, double buffering disabled I’ve tried enabling framebuffer-related options, including enabling ...
0 votes
0 answers
39 views

I have a machine learning environment build as a Dockerfile image and as a prebuilt image for my Deep Learning class. That is, when I build my container, I commit it and push it to dockerhub. So I get ...
0 votes
0 answers
48 views

The functionality, I try to achieve, is to give selected namespaces on Openshift a specific egress ip address. Example; namespace bar gets 10.20.30.1 namespace cafe gets 10.20.30.2 On Openshift I can ...

1
3 4
5
6 7
596