[DragonFlyBSD - Bug #3306] Add description support for ifconfig(8)

2021-11-12 Thread bugtracker-admin
Issue #3306 has been updated by dillon.


The ioctl code in the kernel needs to ensure that the buffer is 
zero-terminated, or it needs to zero-terminate the buffer itself, that it 
stores in if_description.  Otherwise the strlen() on the read side will overrun 
the buffer if userland intentionally sets a description that is not 
zero-terminated.

-Matt


Bug #3306: Add description support for ifconfig(8)
http://bugs.dragonflybsd.org/issues/3306#change-14192

* Author: tuxillo
* Status: In Progress
* Priority: Normal
* Category: Userland
* Target version: 6.2
* Start date: 2021-11-12



Is there a chance the 'ifconfig NIC description XXX' functionality
will sync with the FreeBSD ? This is a fairly popular option.


# ifconfig vlan1 description vm1-vlan
ifconfig: description: bad value


OpenBSD also has a similar capability[1], as NetBSD as well[2]

Thanks!
__

fn1. https://man.openbsd.org/ifconfig.8

fn2. https://man.netbsd.org/ifconfig.8


---Files
01-if-descr.patch (11.7 KB)


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://bugs.dragonflybsd.org/my/account


[DragonFlyBSD - Bug #3306] (In Progress) Add description support for ifconfig(8)

2021-11-12 Thread bugtracker-admin
Issue #3306 has been updated by tuxillo.

File 01-if-descr.patch added
Status changed from New to In Progress
% Done changed from 0 to 50

Preliminary patch, can you please review it @dillon, @sepherosa?


Bug #3306: Add description support for ifconfig(8)
http://bugs.dragonflybsd.org/issues/3306#change-14191

* Author: tuxillo
* Status: In Progress
* Priority: Normal
* Category: Userland
* Target version: 6.2
* Start date: 2021-11-12



Is there a chance the 'ifconfig NIC description XXX' functionality
will sync with the FreeBSD ? This is a fairly popular option.


# ifconfig vlan1 description vm1-vlan
ifconfig: description: bad value


OpenBSD also has a similar capability[1], as NetBSD as well[2]

Thanks!
__

fn1. https://man.openbsd.org/ifconfig.8

fn2. https://man.netbsd.org/ifconfig.8


---Files
01-if-descr.patch (11.7 KB)


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://bugs.dragonflybsd.org/my/account


[DragonFlyBSD - Bug #3306] (New) Add description support for ifconfig(8)

2021-11-12 Thread bugtracker-admin
Issue #3306 has been reported by tuxillo.


Bug #3306: Add description support for ifconfig(8)
http://bugs.dragonflybsd.org/issues/3306

* Author: tuxillo
* Status: New
* Priority: Normal
* Category: Userland
* Target version: 6.2
* Start date: 2021-11-12



Is there a chance the 'ifconfig NIC description XXX' functionality
will sync with the FreeBSD ? This is a fairly popular option.


# ifconfig vlan1 description vm1-vlan
ifconfig: description: bad value


OpenBSD also has a similar capability[1], as NetBSD as well[2]

Thanks!
__

fn1. https://man.openbsd.org/ifconfig.8

fn2. https://man.netbsd.org/ifconfig.8




-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://bugs.dragonflybsd.org/my/account


[DragonFlyBSD - Bug #3305] (New) CBSD: Add NVMM support in DragonFly BSD

2021-11-12 Thread bugtracker-admin
Issue #3305 has been reported by tuxillo.


Bug #3305: CBSD: Add NVMM support in DragonFly BSD
http://bugs.dragonflybsd.org/issues/3305

* Author: tuxillo
* Status: New
* Priority: Normal
* Assignee: tuxillo
* Category: Feature request
* Target version: 6.2
* Start date: 2021-11-12

This is a tracking ticket for adding NVMM support in CBSD[1].

fn1. https://www.bsdstore.ru/en/



-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://bugs.dragonflybsd.org/my/account