Home | History | Annotate | Download | only in libprop
History log of /src/common/lib/libprop/prop_send_syscall.3
RevisionDateAuthorComments
 1.6  12-Feb-2017  abhinav branches: 1.6.12;
Use .Fn to refer a function name instead of Nm.
Also, use Xr to refer problib(3) in the HISTORY section instead of Nm.

While parsing the man pages, any .Nm occurrence gets replaced by the
value specified in the NAME section. Referencing individual function
names with .Nm was causing makemandb(8) to replicate the complete
NAME section for every such occurrence. This was leading to an
ugly looking snippet in apropos(1)'s output when searched for
any of these man pages.
 1.5  30-Sep-2011  jym branches: 1.5.26; 1.5.30;
Fix an implementation inconsistency with the prop_*_send_syscall() and
prop_*_recv_syscall() functions from proplib(3). They now share the
same logic as the one from prop_*_send_ioctl() functions:
- returns an int
- 0 indicates "no error", otherwise returns the error number (and
set errno)

Many consumers of the prop_*_{ioctl, syscall} expect errno to be set
on error and use err() to display the error message. As such, ensures that
errno gets set before returning from these functions.

prop_*_send_syscall() functions returned a boolean, and now return an int.
Fix all call sites to use the new paradigm (only quota2 is affected in src).

As the prop_*_{send,recv}_syscall() API appeared in -current and is only
used by the recent quota2 code, I am not bumping the lib. The API change
only affects the prop_*_send_syscall() function (recv_syscall()s were
already used correctly), so ensure you are not mixing "old" -current
quota binaries with a new proplib(3) (or the other way around). This
change will be announced via a HEADS-UP and UPDATING.

Does not affect the kernel part of proplib.

Document the correct API in prop_array(3) and prop_dictionary(3).

Thanks to Francois Tigeot for noticing the API inconsistency and
reporting it on tech-kern@.

ok bouyer@.
 1.4  19-Jun-2011  pgoyette Correct the example.
 1.3  20-Jan-2011  wiz branches: 1.3.4;
Typos, wording.
 1.2  20-Jan-2011  wiz Remove trailing whitespace.
 1.1  19-Jan-2011  bouyer - Implement prop_{array,dictionary}_copyout(), based on
prop_{array,dictionary}_copyout_ioctl().
- Implement prop_{array,dictionary}_recv_syscall(), which
takes as parameter the pref we got from kernel and internalize it,
and unmaps the buffer prop_{array,dictionary}_copyout() mapped for us.
- add a prop_{array,dictionary}_send_syscall() for symetry, which is
an alias to prop_{array,dictionary}_externalize_to_pref()

Discussed on tech-kern@ and tech-userlevel@
 1.3.4.1  23-Jun-2011  cherry Catchup with rmind-uvmplock merge.
 1.5.30.1  21-Apr-2017  bouyer Sync with HEAD
 1.5.26.1  20-Mar-2017  pgoyette Sync with HEAD
 1.6.12.2  21-Apr-2020  martin Ooops, restore accidently removed files from merge mishap
 1.6.12.1  21-Apr-2020  martin Sync with HEAD

RSS XML Feed