Re: Convert sysctl_sysvsem to sysctl_bounded_args

2020-11-16 Thread Todd C . Miller
On Sat, 14 Nov 2020 21:09:59 -0800, Greg Steuck wrote: > I went a tiny bit beyond pure textual conversion and moved a bit of code. OK millert@ - todd

Re: Convert sysctl_sysvsem to sysctl_bounded_args

2020-11-14 Thread Greg Steuck
Greg Steuck writes: > I went a tiny bit beyond pure textual conversion and moved a bit of > code. Testing log for giggles: % doas sysctl -w kern.seminfo.semmnu=30 kern.seminfo.semmnu: 30 -> 30 % doas sysctl -w kern.seminfo.semmnu=29 sysctl: kern.seminfo.semmnu: Invalid argument % doas sysctl

Convert sysctl_sysvsem to sysctl_bounded_args

2020-11-14 Thread Greg Steuck
I went a tiny bit beyond pure textual conversion and moved a bit of code. OK? >From d8ace6480e76e948631a40bcb8fa812366b82384 Mon Sep 17 00:00:00 2001 From: Greg Steuck Date: Sat, 14 Nov 2020 20:55:14 -0800 Subject: [PATCH 3/3] Convert sysctl_sysvsem to sysctl_bounded_args U