diff options
author | Ken Raeburn <raeburn@mit.edu> | 2001-04-24 14:21:41 +0000 |
---|---|---|
committer | Ken Raeburn <raeburn@mit.edu> | 2001-04-24 14:21:41 +0000 |
commit | 3446172c7d38db8beed8bda83c53972f29cc3211 (patch) | |
tree | fd721e72f0df68adc9fb49f6be7951e8fbade418 | |
parent | a5d403e061c07a4e9ff47f51d00e2531339e4ac8 (diff) | |
download | krb5-3446172c7d38db8beed8bda83c53972f29cc3211.tar.gz krb5-3446172c7d38db8beed8bda83c53972f29cc3211.tar.xz krb5-3446172c7d38db8beed8bda83c53972f29cc3211.zip |
update info on Solaris; add BSD/OS
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13185 dc483132-0cff-0310-8789-dd5450dbe970
-rw-r--r-- | src/lib/krb5/os/t_gifconf.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/lib/krb5/os/t_gifconf.c b/src/lib/krb5/os/t_gifconf.c index 1fd0d05e6..d33dddc98 100644 --- a/src/lib/krb5/os/t_gifconf.c +++ b/src/lib/krb5/os/t_gifconf.c @@ -12,9 +12,16 @@ enough room; no overrun. Largest gap: 43. (NetBSD now has getifaddrs.) - Solaris 2.7: Return EINVAL if the buffer space is too small for all + BSD/OS 4.0.1 (courtesy djm): The returned ifc_len is equal to or + less than the supplied ifc_len. Sometimes the entire buffer is + used; sometimes N-1 bytes; occasionally, the buffer must have quite + a bit of extra room before the next structure will be added. + Largest gap: 39. + + Solaris 7,8: Return EINVAL if the buffer space is too small for all the data to be returned, including ifc_len==0. Solaris is the only system I've found so far that actually returns an error. No gap. + However, SIOCGIFNUM may be used to query the number of interfaces. Linux 2.2.12 (RH 6.1 dist, x86): The buffer is filled in with as many entries as will fit, and the size used is returned in ifc_len. |