Files
Kyle Evans 7e70589b1b libutil: take a size_t in trimdomain()
INT_MAX is already larger than a reasonable hostname might be, but
size_t makes some of this easier to reason about as we do arithmetic
with it.  This would maybe not be worth it if we had to bump the
soversion because of it, but libutil does symbol versioning now so we
can provide a compat shim.

While we're here, fix some inconsistencies in argument names in the
manpage.

Reviewed by:	des
Obtained from:	https://github.com/apple-oss-distributions/libutil
Sponsored by:	Klara, Inc.
Differential Revision:	https://reviews.freebsd.org/D54622
2026-03-03 16:51:01 -06:00

139 lines
2.1 KiB
Plaintext

FBSD_1.8 {
_secure_path;
auth_cat;
auth_checknologin;
auth_hostok;
auth_timeok;
auth_ttyok;
build_iovec_argf;
build_iovec;
checkpath_allow_file;
checkpath;
chkdoreload;
cpuset_parselist;
domainset_parselist;
expand_number;
expand_unsigned;
flopen;
flopenat;
forkpty;
fparseln;
free_iovec;
ftime;
getlocalbase;
getmnt_silent;
getmntopts;
getmntpoint;
gr_add;
gr_copy;
gr_dup;
gr_equal;
gr_fini;
gr_init;
gr_lock;
gr_make;
gr_mkdb;
gr_scan;
gr_tmp;
hexdump;
humanize_number;
in_lt;
in_ltm;
in_ltms;
in_lts;
kinfo_getallproc;
kinfo_getfile;
kinfo_getproc;
kinfo_getswapvmobject;
kinfo_getvmmap;
kinfo_getvmobject;
kld_isloaded;
kld_load;
login_close;
login_getcapbool;
login_getcapenum;
login_getcaplist;
login_getcapnum;
login_getcapsize;
login_getcapstr;
login_getcaptime;
login_getclass;
login_getclassbyname;
login_getpath;
login_getpwclass;
login_getstyle;
login_getuserclass;
login_hostok;
login_setcryptfmt;
login_str2inlist;
login_strinlist;
login_timelist;
login_tty;
login_ttyok;
openpty;
parse_lt;
pidfile_close;
pidfile_fileno;
pidfile_open;
pidfile_remove;
pidfile_signal;
pidfile_write;
properties_free;
properties_read;
property_find;
pw_copy;
pw_dup;
pw_edit;
pw_equal;
pw_fini;
pw_init;
pw_initpwd;
pw_lock;
pw_make_v7;
pw_make;
pw_mkdb;
pw_scan;
pw_tempname;
pw_tmp;
quota_check_path;
quota_close;
quota_convert;
quota_fsname;
quota_maxid;
quota_off;
quota_on;
quota_open;
quota_qfname;
quota_read;
quota_write_limits;
quota_write_usage;
realhostname_sa;
realhostname;
rmslashes;
setclasscontext;
setclasscpumask;
setclassenvironment;
setclassresources;
setusercontext;
uu_lock_txfr;
uu_lock;
uu_lockerr;
uu_unlock;
/*
* login_setcryptfmt() uses crypt_set_format() from libcrypt. To
* avoid forcing a hard dependency on libcrypt, we provide a weak
* stub. Applications that use login_setcryptfmt() should link
* with libcrypt, whose crypt_set_format() will override the stub.
*/
crypt_set_format;
};
FBSD_1.9 {
trimdomain;
};
FBSDprivate_1.0 {
__pw_initpwd;
};