Re: sockaddr_in initialization in ttcp (possibly other programs affected)

2016-09-13 Thread Héctor Luis Gimbatti
Hi, The main reason I've notified this ''bug'' to .misc is because other (important, maintained, in base? , etc) code may fail too. Cheers > -Original Message- > From: Jeremie Courreges-Anglas [mailto:j...@wxcvbn.org] > Sent: Monday, September 12, 2016 10:30 > To: Héctor Luis Gimbatti

sockaddr_in initialization in ttcp (possibly other programs affected)

2016-09-06 Thread Héctor Luis Gimbatti
Greetings, I post this to .misc since some other (than ttcp) programs might not work in recent versions of OBSD. In OBSD 5.6 I am able to run ttcp. $ uname -a OpenBSD pez.etale.com.ar 5.6 GENERIC.MP#333 amd64 $ ttcp -r -s ttcp-r: buflen=8192, nbuf=2048, align=16384/0, port=5001 tcp

Pledge: quota syscall

2016-04-04 Thread Héctor Luis Gimbatti
Greetings, Ive found that the call at line 536 of quota.c (current) causes abort when pledge is required: if(quotactl(fs->fs_file, qcmd, id, (char *)>dqblk) != 0) Is it necessary to include quotactl (SYS_quotactl) in pledge in order to support basecode such as edquota, quota, etc? Thanks ---

Re: /usr/sbin/dhcpd -u pledge failure.

2016-04-04 Thread Héctor Luis Gimbatti
A couple of programs are passing "route" to pledge (bgpd.c; iked.c; ...) We have to document the route syscall in pledge (2) > -Original Message- > From: owner-m...@openbsd.org [mailto:owner-m...@openbsd.org] On Behalf > Of Philip Higgins > Sent: Monday, April 04, 2016 01:12 > To:

mg configuration file

2016-03-10 Thread Héctor Luis Gimbatti
Greetings, I am running obsd 5.8 and stock mg. My config file ~/.mg: auto-indent-mode blink-matching-paren When I run mg without arguments the auto indent mode works as expected. But when I run mg with an argument (eg mg foo.c) auto indent doesn't work. I've got the source of mg from cvs and

Re: sshd segfaults with incomplete /etc/hosts

2014-05-13 Thread Héctor Luis Gimbatti
On the same topic, $ man 5 hosts BUGS: Lines in /etc/hosts are limited to BUFSIZ characters (currently 1024). Longer lines will be ignored. I've made a couple of test: 1. If the line has the following pattern: 10.0.1.1 aa b c z $ getent hosts 10.0.1.1

vfs references to strncpy and MFSNAMELEN

2014-04-27 Thread Héctor Luis Gimbatti
The constant MFSNAMELEN as defined in: lib/libc/sys/getfsstat.2:#define MFSNAMELEN 16 lib/libc/sys/statfs.2:#define MFSNAMELEN 16 sys/sys/mount.h: #define MFSNAMELEN 16 defines the fs type name and, according to comments, it includes nul terminating character. The following code

support new

2014-04-22 Thread Héctor Luis Gimbatti
0 C Argentina P Santa Fe T Rosario Z 2000 I Hector Luis Gimbatti A Italia 4838 M h...@etale.com.ar N OpenBSD consulting, installation, maintenance and support for mid-size business. Over 10 years of experience with BSD based systems (both servers and clients). Experienced in firewalls and