Skip to main content
Filter by
Sorted by
Tagged with
5 votes
1 answer
76 views

I'm writing a hello-world program in i386 assembly for OpenBSD 7.8. The program works if the string (buf argument of write(2)) is in .data or on the stack, but write(2) returns EFAULT (== 14) if the ...
pts's user avatar
  • 88.7k
0 votes
1 answer
161 views

In configuring location match rules for OpenBSD httpd, which uses patterns, an OpenBSD implementation of Lua patterns, the following rules result in any request that begins with one of the characters (...
Paul's user avatar
  • 259
3 votes
1 answer
123 views

I am trying to listen on a socket. If the user specifies to use IPv6, I use the following, which works on Linux: setsockopt(listen_fd, SOL_IPV6, IPV6_V6ONLY, &one, sizeof(one)); But SOL_IPV6 does ...
Runxi Yu's user avatar
  • 412
2 votes
0 answers
98 views

I have cloned gcc repo from (https://github.com/gcc-mirror/gcc/tree/releases/gcc-13). Configured within build directory as such: ../configure --enable-host-shared --enable-languages=jit,c++ --disable-...
Kabira  K's user avatar
  • 2,065
2 votes
1 answer
383 views

I am currently working on a project depends on detecting which OS the executable belong to. I am only working on ELF executable format so I tried to use e_ident[EI_OSABI] value but doesn't give ...
ChemistryIsTheBest's user avatar
1 vote
0 answers
261 views

How can I configure YubiKey-based login on OpenBSD without relying on the YubiKey Personalization GUI? I attempted to set up YubiKey login on OpenBSD by following various online tutorials that explain ...
Ashim Atpok's user avatar
1 vote
0 answers
39 views

I have a fpc (free pascal) with msegui widgetset application that compiles ok on OpenBSD. It runs perfectly when launched from terminal. But if 2xclick on the binary in the window manager, the app ...
fredvs's user avatar
  • 29
0 votes
1 answer
149 views

I'm trying to get SFML to work and I ran into this strange problem: clang++ test.cpp -L/usr/local/lib/ -lsfml-graphics -lsfml-window -lsfml-system ./a.out a.out:/usr/local/lib/libsfml-window.so.2.0: ...
WernerDrasche's user avatar
0 votes
1 answer
66 views

Problem Statement We are using tail and subprocess.Popen to ingest log data into a custom application. This application is expected to run on a variety of *NIX systems including OpenBSD, RedHat Linux, ...
Stephen Collins's user avatar
-1 votes
1 answer
205 views

I am a new user trying to make BSD as my daily driver. Apparently, the only thing stopping me is unable to control the fan. I am using Gigabyte Aero 10th Gen Intel Core i7 with NVIDIA GTX 1660Ti card. ...
user avatar
4 votes
0 answers
280 views

I want to use specific c11 macros in my C code, but they aren't available. I installed gcc 8.4 via pkg_add on a fresh OpenBSD 7.1 install. /usr/include/float.h is missing any c11 definitions. gcc-8.4: ...
xpkr's user avatar
  • 51
2 votes
1 answer
1k views

I use NeoVim on two machines, one running OpenBSD and another running Linux. I want to be able to run/load certain commands if I'm on the OpenBSD machine. How can I do this? I've tried the following ...
Rawley Fowler's user avatar
0 votes
1 answer
650 views

According to what I read, OpenBSD seems to have its own system on encoding and decoding using Base64. However,I cant find any literature whatsoever that can describe it mathematically. my question is, ...
Gebrina Divva Meuthia Zulma's user avatar
0 votes
1 answer
136 views

Windows doesn't seem to support arc4random. Is there a preprocessor macro I can use to identify if arc4random is supported by the platform I'm compiling for ? https://man.openbsd.org/arc4random.3
rstr1112's user avatar
  • 448
1 vote
1 answer
827 views

I set up an OpenBSD 7.0 instance on Vultr in order to get a mail server running with Dovecot and OpenSMTPD. I (mostly) followed the instructions here and here and a bit here. I set it up to use with ...
Joe Blough's user avatar
0 votes
1 answer
472 views

There's a dynamic IP address (the public IP of my home) that I'd like to track (i.e., have it as a file on my OpenBSD server). I came up with this simple server: #include<stdio.h> #include<...
Runxi Yu's user avatar
  • 412
2 votes
1 answer
385 views

How can I execute syscalls directly? I'm using OpenBSD right now, the Unix platform. I want to be able to call syscalls without the 'wrapper', as an example: instead of write(1, "hello!", 6) ...
Dragos Polifronie's user avatar
0 votes
1 answer
270 views

I have PHP and Postgresql installed on OpenBSD 7.0 (VPS). PHP is working (I can echo from an index.php file). And my Postgresql server is running (I can connect and create tables from the command ...
Russell's user avatar
  • 31
0 votes
1 answer
308 views

I use OpenBSD and PHP for my private homepage. For the purpose of education (don't use this in production), I have to tried to execute a simple Hello World program in a chroot. Linked the binary ...
user avatar
3 votes
1 answer
933 views

I tried to figure out if multiple processes or threads can execute concurrent syscalls, without one of them sleeping. That's to say: Does OpenBSD use something like a Big Kernel Lock. One would expect,...
prometheus's user avatar
0 votes
1 answer
1k views

I am trying to access the SSHD server on my IBMi. However I keep getting Permission denied (publickey,password,keyboard-interactive).. I am running v7r2 on my IBMi This was working until ran the ...
GreenhornCJ's user avatar
-1 votes
1 answer
1k views

SO I have a BSD server and want to host a Minecraft BungeeCoord server. The thing is the server files are in different directories EG: /home/name/bungee/servers/Survival/start.sh AND /home/name/bungee/...
Yaroslav .O's user avatar
0 votes
1 answer
663 views

OpenBSD is known to provide correct and extensive documentation, compared to e. g. GNU/Linux. Is there a technical overview, for a developer, who would like to start contributing code to OpenBSD? I ...
d.c.'s user avatar
  • 110
0 votes
1 answer
126 views

I wanted to start learning Java but I am a bit confused as to how to set the path correctly. I want to make a directory in my home directory for all my java programs so I was thinking something like: /...
david garcia's user avatar
-1 votes
1 answer
821 views

I'm new to ansible and trying to create new user with encrypted password using ansible-vault. The taget system is OpenBsd, and I'm using ansible 2.10 on Ubuntu 20.04 . The "problem" is once ...
maka's user avatar
  • 61

1
2 3 4 5