[issue46021] fcntl module update supports FreeBSD F_KINFO flag

2021-12-09 Thread David CARLIER


David CARLIER  added the comment:

- A kinfo_file data holds file information from the kernel's perspective  (like 
the path or the current offset), more info here 
https://github.com/freebsd/freebsd-src/blob/main/sys/sys/user.h#L342

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue46021] fcntl module update supports FreeBSD F_KINFO flag

2021-12-09 Thread David CARLIER


David CARLIER  added the comment:

Ah right then no point then if there is no support for upcoming feature, indeed 
it s only FreeBSD 14 scheduled next year :-)

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue46021] fcntl module update supports FreeBSD F_KINFO flag

2021-12-09 Thread Christian Heimes


Christian Heimes  added the comment:

I still have no clue what the flag is doing. Could you please describe the 
purpose and meaning of kinfo_file so that somebody without FreeBSD Kernel 
insight can understand it? Much appreciated.

The feature is not available in FreeBSD 13.0. Is it scheduled for 14.0? We 
typically do not wrap new Kernel or OS features until they are available in 
stable OS releases.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue46021] fcntl module update supports FreeBSD F_KINFO flag

2021-12-09 Thread David CARLIER


David CARLIER  added the comment:

- Got clues mostly from source code and header 
https://github.com/freebsd/freebsd-src/blob/794d3e8e63f4a6ebc8926030b6c937109ddc5485/sys/sys/fcntl.h#L273

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue46021] fcntl module update supports FreeBSD F_KINFO flag

2021-12-09 Thread David CARLIER


David CARLIER  added the comment:

- The F_KINFO flag returns the related kinfo_file from the file descriptor.
- While F_KINFO is, at the moment, FreeBSD's specific however other BSD has 
kinfo_file data as well thus the possibility they support a similar feature 
(F_KINFO appears only around the 5th of December).
- Does not appear yet on the man page most likely due to its very recent 
appareance.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue46021] fcntl module update supports FreeBSD F_KINFO flag

2021-12-09 Thread Christian Heimes


Christian Heimes  added the comment:

Please update the ticket with more information

- What does the flag F_KINFO do?
- Which platforms support the F_KINFO flag?
- link to a man page or platform documentation

A ticket should contain enough information so that a reviewer can understand 
the purpose of a feature request.

--
nosy: +christian.heimes

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue46021] fcntl module update supports FreeBSD F_KINFO flag

2021-12-09 Thread David CARLIER


New submission from David CARLIER :

- Enabling new F_KINFO flag.
- Returning a subset of practical data from it.

--
components: FreeBSD
messages: 408088
nosy: devnexen, koobs
priority: normal
pull_requests: 28224
severity: normal
status: open
title: fcntl module update supports FreeBSD F_KINFO flag

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com