From rswindell@VERT to CVS commit on Sunday, March 22, 2020 16:37:24
src/sbbs3 sbbscon.c 1.277 1.278
Update of /cvsroot/sbbs/src/sbbs3
In directory cvs:/tmp/cvs-serv28985
Modified Files:
sbbscon.c
Log Message:
Clean-up some of this USE_LINUX_CAPS patch, but honestly, I think it's
time for it to go away. Using 'sudo setcap sbbs' during build seems like the better, more supported solution.
---
� Synchronet � Vertrauen � Home of Synchronet � [vert/cvs/bbs].synchro.net
From rswindell@VERT to CVS commit on Sunday, March 22, 2020 17:45:52
src/sbbs3 sbbscon.c 1.278 1.279
Update of /cvsroot/sbbs/src/sbbs3
In directory cvs:/tmp/cvs-serv6632
Modified Files:
sbbscon.c
Log Message:
Only do the whole Linux-capabilities dance when run as root (user-id 0).
This eliminates the error messages that would be displayed/logged when attempting the SYS_capset SYSCALL, which fails when not root.
So the capabilities dance enabled with USE_LINUX_CAPS (which is automatically enabled when /usr/include/sys/capabilites.h exists, which is installed with
the libcap2-dev package) apparently is still useful if you need to start
sbbs as root: the main thread will remain as root even when the child
threads have their user-id's changed to the user specified in the [UNIX] section of sbbs.ini or on the command-line
- so reducing the enabled privilege set for this root/main thread to the minimum needed, is a good security measure. It does this reduction (call to linux_minprivs() after the call to change_user()) so I'm not exactly sure how that works, but according to Deuce, this is what's happening. :-/
---
� Synchronet � Vertrauen � Home of Synchronet � [vert/cvs/bbs].synchro.net
From rswindell@VERT to CVS commit on Monday, April 13, 2020 13:36:19
src/sbbs3 sbbscon.c 1.279 1.280
Update of /cvsroot/sbbs/src/sbbs3
In directory cvs:/tmp/cvs-serv25670
Modified Files:
sbbscon.c
Log Message:
Add "version" command-line option to display version/revision details (ala the SBBSCTRL "About" dialog box) and then exit.
---
� Synchronet � Vertrauen � Home of Synchronet � [vert/cvs/bbs].synchro.net
From rswindell@VERT to CVS commit on Sunday, August 02, 2020 19:30:27
src/sbbs3 sbbscon.c 1.280 1.281
Update of /cvsroot/sbbs/src/sbbs3
In directory cvs:/tmp/cvs-serv22134
Modified Files:
sbbscon.c
Log Message:
Print the target architecture of sbbs along with the target platform/OS
(e.g. Linux-armv6 for rPi).
---
� Synchronet � Vertrauen � Home of Synchronet � [vert/cvs/bbs].synchro.net
From Deuc¿@VERT to Git commit to main/sbbs/master on Saturday, January 18, 2025 18:34:17