[Bug 277655] random() *not* removed from 14.0-RELEASE

2024-04-05 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277655

--- Comment #10 from Henrich Hartzer  ---
Might it be possible for you or someone else to review my patch?

If I should submit it through another avenue, please let me know!

-- 
You are receiving this mail because:
You are the assignee for the bug.


[Bug 277655] random() *not* removed from 14.0-RELEASE

2024-03-22 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277655

--- Comment #9 from commit-h...@freebsd.org ---
A commit in branch stable/14 references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=466e0dc5ce78da69c14dd993d12ef21a62deca5b

commit 466e0dc5ce78da69c14dd993d12ef21a62deca5b
Author: Ed Maste 
AuthorDate: 2024-03-18 20:02:08 +
Commit: Ed Maste 
CommitDate: 2024-03-22 13:30:31 +

random(9): bump removal to FreeBSD 15.0

It has not yet been removed, and still has some in-tree consumers.

PR: 277655
Sponsored by:   The FreeBSD Foundation

(cherry picked from commit f50322c1dcfe369ad73e1123541d18fc431384f6)

 share/man/man9/random.9 | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

-- 
You are receiving this mail because:
You are the assignee for the bug.


[Bug 277655] random() *not* removed from 14.0-RELEASE

2024-03-18 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277655

--- Comment #8 from Henrich Hartzer  ---
I see, thank you! I drafted up a quick patch for sys/netinet/cc/. It's untested
and I don't understand all of the implications of the changes.

If it's worth reviewing, where should I submit it?

-- 
You are receiving this mail because:
You are the assignee for the bug.


[Bug 277655] random() *not* removed from 14.0-RELEASE

2024-03-18 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277655

--- Comment #7 from Henrich Hartzer  ---
Created attachment 249283
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=249283=edit
sys/netinet/cc switch from random() to prng32()

-- 
You are receiving this mail because:
You are the assignee for the bug.


[Bug 277655] random() *not* removed from 14.0-RELEASE

2024-03-18 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277655

--- Comment #6 from Ed Maste  ---
There is no other issue for tracking that I'm aware of.

A grep turns up instances in:

sys/contrib/libsodium/src/libsodium/randombytes/randombytes.c
sys/contrib/openzfs/tests/zfs-tests/cmd/btree_test.c
sys/contrib/openzfs/tests/zfs-tests/cmd/file/file_trunc.c
sys/contrib/openzfs/tests/zfs-tests/cmd/readmmap.c
sys/contrib/openzfs/tests/zfs-tests/cmd/rm_lnkcnt_zero_file.c
sys/contrib/openzfs/tests/zfs-tests/cmd/xattrtest.c
sys/dev/al_eth/al_eth.c
sys/dev/bce/if_bcereg.h
sys/dev/hpt27xx/hpt27xx_os_bsd.c
sys/dev/hptmv/entry.c
sys/dev/hptnr/hptnr_os_bsd.c
sys/dev/hptrr/hptrr_os_bsd.c
sys/dev/mlx4/mlx4_ib/mlx4_ib_mad.c
sys/dev/mlx5/mlx5_core/mlx5_vsc.c
sys/dev/random/unit_test.c
sys/dev/syscons/dragon/dragon_saver.c
sys/dev/syscons/fire/fire_saver.c
sys/dev/syscons/plasma/plasma_saver.c
sys/dev/syscons/rain/rain_saver.c
sys/dev/syscons/snake/snake_saver.c
sys/dev/syscons/star/star_saver.c
sys/dev/syscons/warp/warp_saver.c
sys/geom/multipath/g_multipath.c
sys/kern/kern_fail.c
sys/kern/kern_synch.c
sys/kern/subr_fattime.c
sys/kern/subr_stats.c
sys/net/altq/altq_classq.h
sys/netgraph/ng_pipe.c
sys/netinet/cc/cc_cdg.c
sys/netinet/cc/cc_chd.c
sys/netinet/cc/cc_hd.c
sys/netinet/igmp_var.h
sys/netpfil/ipfw/dn_aqm_pie.h
sys/netpfil/ipfw/dn_sched_fq_codel.c
sys/netpfil/ipfw/dn_sched_fq_pie.c
sys/netpfil/ipfw/ip_dn_io.c
sys/netpfil/ipfw/ip_fw2.c
sys/netpfil/ipfw/test/test_dn_heap.c
sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_cm.c
sys/tests/fib_lookup/fib_lookup.c
sys/vm/memguard.c

-- 
You are receiving this mail because:
You are the assignee for the bug.


[Bug 277655] random() *not* removed from 14.0-RELEASE

2024-03-18 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277655

--- Comment #5 from Henrich Hartzer  ---
Thank you! Is there another issue tracking what consumers still exist?

-- 
You are receiving this mail because:
You are the assignee for the bug.


[Bug 277655] random() *not* removed from 14.0-RELEASE

2024-03-18 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277655

--- Comment #4 from commit-h...@freebsd.org ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=f50322c1dcfe369ad73e1123541d18fc431384f6

commit f50322c1dcfe369ad73e1123541d18fc431384f6
Author: Ed Maste 
AuthorDate: 2024-03-18 20:02:08 +
Commit: Ed Maste 
CommitDate: 2024-03-18 20:03:49 +

random(9): bump removal to FreeBSD 15.0

It has not yet been removed, and still has some in-tree consumers.

PR: 277655
Sponsored by:   The FreeBSD Foundation

 share/man/man9/random.9 | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

-- 
You are receiving this mail because:
You are the assignee for the bug.


[Bug 277655] random() *not* removed from 14.0-RELEASE

2024-03-18 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277655

--- Comment #3 from Ed Maste  ---
oh, random(9), not random(3)

-- 
You are receiving this mail because:
You are the assignee for the bug.


[Bug 277655] random() *not* removed from 14.0-RELEASE

2024-03-18 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277655

--- Comment #2 from Henrich Hartzer  ---
Hi Ed,

It's in man section 9 for random.

https://man.freebsd.org/cgi/man.cgi?query=random=0=9=FreeBSD+14.0-RELEASE+and+Ports=default=html

https://cgit.freebsd.org/src/tree/share/man/man9/random.9?h=releng/14.0#n135

Thanks!

-- 
You are receiving this mail because:
You are the assignee for the bug.


[Bug 277655] random() *not* removed from 14.0-RELEASE

2024-03-17 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277655

Ed Maste  changed:

   What|Removed |Added

 CC||ema...@freebsd.org

--- Comment #1 from Ed Maste  ---
Where did you see that it would be removed?

-- 
You are receiving this mail because:
You are the assignee for the bug.


[Bug 277655] random() *not* removed from 14.0-RELEASE

2024-03-12 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277655

Bug ID: 277655
   Summary: random() *not* removed from 14.0-RELEASE
   Product: Base System
   Version: 14.0-RELEASE
  Hardware: Any
OS: Any
Status: New
  Severity: Affects Only Me
  Priority: ---
 Component: kern
  Assignee: b...@freebsd.org
  Reporter: henrichhart...@tuta.io

I see random() mentioned in man pages and /usr/include/sys/libkern.h on
14.0-RELEASE. It was slated for removal with 14.0-RELEASE. However, it looks
like it was not removed.

-- 
You are receiving this mail because:
You are the assignee for the bug.