The NetBSD Project

CVS log for src/tests/net/net/t_unix.c

[BACK] Up to [cvs.NetBSD.org] / src / tests / net / net

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.25: download - view: text, markup, annotated - select for diffs
Sun Aug 8 20:54:49 2021 UTC (3 years, 5 months ago) by nia
Branches: MAIN
CVS tags: perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs, netbsd-10-base, netbsd-10-1-RELEASE, netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, HEAD
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +3 -3 lines
introduce a SOL_LOCAL for unix-domain socket level socket options
as an alias of the current 0 used for these options, as in FreeBSD.

reviewed by many.

Revision 1.24: download - view: text, markup, annotated - select for diffs
Fri Aug 28 14:18:29 2020 UTC (4 years, 4 months ago) by riastradh
Branches: MAIN
CVS tags: cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +5 -5 lines
Nix trailing whitespace.

Revision 1.23: download - view: text, markup, annotated - select for diffs
Fri Aug 28 13:56:29 2020 UTC (4 years, 4 months ago) by christos
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +10 -2 lines
When running the tests with atf-run the directory we are running in is
drwx------ so when we change to a different user, we can't find the socket
we created.

Make a directory and put the socket in there. Of course now atf can't
record its results as a different user, but that is not fatal.

tc-se:FATAL ERROR: Cannot create results file '/tmp/atf-run.9vOjFd/tcr': \
Permission denied

Revision 1.22: download - view: text, markup, annotated - select for diffs
Fri Aug 28 11:46:05 2020 UTC (4 years, 4 months ago) by christos
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +6 -12 lines
Remove unneeded sete{u,g}id pointed out by kre.
Remove dup unlink.

Revision 1.21: download - view: text, markup, annotated - select for diffs
Thu Aug 27 14:00:01 2020 UTC (4 years, 4 months ago) by christos
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +73 -10 lines
- when running as root, create the socket under a different uid/gid to verify
  that it works properly with different users opening the socket.
- verify that linux works the same for both getpeereid() and fstat()

Revision 1.20: download - view: text, markup, annotated - select for diffs
Wed Aug 26 22:52:58 2020 UTC (4 years, 4 months ago) by christos
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +63 -35 lines
Check that fstat returns the correct socket owner

Revision 1.19: download - view: text, markup, annotated - select for diffs
Mon Jul 6 16:24:06 2020 UTC (4 years, 6 months ago) by christos
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +3 -7 lines
don't open the socket twice.

Revision 1.17.4.1: download - view: text, markup, annotated - select for diffs
Mon Jun 10 22:10:10 2019 UTC (5 years, 7 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.17: preferred, colored; next MAIN 1.18: preferred, colored
Changes since revision 1.17: +3 -2 lines
Sync with HEAD

Revision 1.18: download - view: text, markup, annotated - select for diffs
Sun Apr 14 01:45:30 2019 UTC (5 years, 9 months ago) by christos
Branches: MAIN
CVS tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, netbsd-9-base, netbsd-9-4-RELEASE, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, is-mlppp-base, is-mlppp
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +3 -2 lines
ifix uninialized pid

Revision 1.17: download - view: text, markup, annotated - select for diffs
Sat Feb 17 20:16:18 2018 UTC (6 years, 10 months ago) by christos
Branches: MAIN
CVS tags: phil-wifi-base, pgoyette-compat-merge-20190127, pgoyette-compat-base, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, pgoyette-compat
Branch point for: phil-wifi
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +39 -16 lines
make it compile again for those who don't have LOCAL_PEERCRED

Revision 1.16: download - view: text, markup, annotated - select for diffs
Sat Feb 17 16:34:18 2018 UTC (6 years, 10 months ago) by christos
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +131 -79 lines
Add a test demonstrating thst LOCAL_PEEREID is busted.

Revision 1.15: download - view: text, markup, annotated - select for diffs
Fri Feb 16 22:17:17 2018 UTC (6 years, 10 months ago) by christos
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +18 -26 lines
make sure we call getpeername on the accepted socket!

Revision 1.14: download - view: text, markup, annotated - select for diffs
Fri Feb 16 16:30:20 2018 UTC (6 years, 11 months ago) by christos
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +3 -3 lines
explain what's going on before we fix it.

Revision 1.13: download - view: text, markup, annotated - select for diffs
Fri Feb 16 16:23:15 2018 UTC (6 years, 11 months ago) by christos
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +7 -20 lines
add getpeereid tests for non-unix sockets, returns garbage...

Revision 1.12: download - view: text, markup, annotated - select for diffs
Fri Feb 16 16:08:22 2018 UTC (6 years, 11 months ago) by christos
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +20 -3 lines
add a getpeeeid test.

Revision 1.6.8.1: download - view: text, markup, annotated - select for diffs
Wed Aug 20 00:04:52 2014 UTC (10 years, 4 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.6: preferred, colored; next MAIN 1.7: preferred, colored
Changes since revision 1.6: +182 -38 lines
Rebase to HEAD as of a few days ago.

Revision 1.6.2.1: download - view: text, markup, annotated - select for diffs
Thu May 22 11:42:22 2014 UTC (10 years, 7 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.6: preferred, colored; next MAIN 1.7: preferred, colored
Changes since revision 1.6: +182 -38 lines
sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")

Revision 1.11: download - view: text, markup, annotated - select for diffs
Wed Nov 13 21:41:23 2013 UTC (11 years, 2 months ago) by christos
Branches: MAIN
CVS tags: yamt-pagecache-base9, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, perseant-stdc-iso10646-base, perseant-stdc-iso10646, netbsd-8-base, netbsd-8-3-RELEASE, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0, netbsd-7, matt-nb8-mediatek-base, matt-nb8-mediatek, localcount-20160914, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +17 -9 lines
CID 1107543, 230676, 1107543, 976795, 230676, 976795, 1125885, etc.

Revision 1.10: download - view: text, markup, annotated - select for diffs
Sun Oct 20 17:36:36 2013 UTC (11 years, 2 months ago) by christos
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +7 -3 lines
write fail as a proper macro

Revision 1.9: download - view: text, markup, annotated - select for diffs
Thu Oct 17 12:52:09 2013 UTC (11 years, 3 months ago) by christos
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +20 -5 lines
CID 1107550: resource leak

Revision 1.8: download - view: text, markup, annotated - select for diffs
Thu Oct 10 16:01:55 2013 UTC (11 years, 3 months ago) by christos
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +16 -4 lines
make this work on linux

Revision 1.7: download - view: text, markup, annotated - select for diffs
Tue Oct 8 18:05:31 2013 UTC (11 years, 3 months ago) by christos
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +140 -35 lines
Improve tests so that they check the sockaddr's returned by accept(2) and
getsockname(2). Test for accept success after closed client socket.

Revision 1.6: download - view: text, markup, annotated - select for diffs
Tue Oct 4 16:28:26 2011 UTC (13 years, 3 months ago) by christos
Branches: MAIN
CVS tags: yamt-pagecache-tag8, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, agc-symver-base, agc-symver
Branch point for: yamt-pagecache, tls-maxphys
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +8 -6 lines
Fixed reversed/child parent and check the right variable for failure from
gson@

Revision 1.5: download - view: text, markup, annotated - select for diffs
Mon Oct 3 14:55:23 2011 UTC (13 years, 3 months ago) by christos
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +10 -5 lines
Fix the exceed test.

Revision 1.4: download - view: text, markup, annotated - select for diffs
Fri Sep 30 19:12:35 2011 UTC (13 years, 3 months ago) by christos
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +19 -15 lines
use ATF_CHECK_MSG instead of err() in atf.

Revision 1.3: download - view: text, markup, annotated - select for diffs
Wed Sep 28 22:19:52 2011 UTC (13 years, 3 months ago) by christos
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +3 -3 lines
revert part of previous that was wrong.

Revision 1.2: download - view: text, markup, annotated - select for diffs
Wed Sep 28 22:08:12 2011 UTC (13 years, 3 months ago) by christos
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +4 -4 lines
fix error message

Revision 1.1: download - view: text, markup, annotated - select for diffs
Wed Sep 28 16:13:03 2011 UTC (13 years, 3 months ago) by christos
Branches: MAIN
Add a unix socket pathname size limit test.

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options

CVSweb <webmaster@jp.NetBSD.org>