New answers tagged

2

openbsd has a distinct concept of memory management in terms of security. therefore, statically linked libraries can not be preloaded: the code reads: shlib = _dl_load_shlib(cp, _dl_objects, OBJTYPE_LIB, _dl_objects->obj_flags); if (shlib == NULL) { _dl_printf("%s: can't preload library '%s'\n", ...


1

First, you must get the source code and install it. http://mirror.exonetric.net/pub/OpenBSD/5.9/src.tar.gz http://mirror.exonetric.net/pub/OpenBSD/5.9/sys.tar.gz http://mirror.exonetric.net/pub/OpenBSD/5.9/xenocara.tar.gz http://mirror.exonetric.net/pub/OpenBSD/5.9/ports.tar.gz Copy everything in the /home directory. Now unpack the source code. tar ...


1

The two main reasons to run a program directly without calling the shell are: Performance: Most programs that you would call from your C program are likely much smaller than the shell, which makes them start much more quickly. Environment control: Dealing with an additional layer of environment variables to deal with can be more complex to configure and ...


0

A few tricks can be used to reduce the size of libraries. I always perform this step before removing executables from the system. Remove library profiling data to save ~56Mb: rm /target/usr/lib/lib*_p.a Strip symbol tables from shared objects: strip /target/usr/lib/lib*.so.* For instance libc.so.86.0 amounts to 3Mb, while only 750kb stripped. This ...


1

Htop 2.0 adds OpenBSD support. I just compiled it on OpenBSD 5.9 and it works very well: http://hisham.hm/htop/


0

sure, flashrd should be fine for your scenario: flashrd boots within 64MB RAM and 1GB flash hosting a default OpenBSD/i386 or Open BSD/amd64 installation. At least 128MB RAM is recommended for the default flashrd setup. you have to use a up-to-date version of OpenBSD with flashrd (currently at 5.9) which is strongly recommended in any case.


2

while httpd supports using patterns in the context of some keywords (alias match, location match, server match) the functionality you are looking for is not implemented in httpd. i see two ways to realize your intentions: crosspost on the openbsd-misc mailing list - one of the authors of httpd might pick you up there use pf to firewall. i do strongly ...



Top 50 recent answers are included