Commit Graph

6706 Commits

Author SHA1 Message Date
abhinav 4f5a1ab658 Fix typo 2017-06-04 08:34:34 +00:00
wiz 53988e4234 New sentence, new line. Fix typos. More consistent grammar.
Comment out empty EXAMPLES section. Remove unnecessary macros.
2017-05-29 08:46:23 +00:00
bouyer 6e4cb2b9ab merge the bouyer-socketcan branch to HEAD.
CAN stands for Controller Area Network, a broadcast network used
in automation and automotive fields. For example, the NMEA2000 standard
developped for marine devices uses a CAN network as the link layer.

This is an implementation of the linux socketcan API:
https://www.kernel.org/doc/Documentation/networking/can.txt
you can also see can(4).

This adds a new socket family (AF_CAN) and protocol (PF_CAN),
as well as the canconfig(8) utility, used to set timing parameter of
CAN hardware. Also inclued is a driver for the CAN controller
found in the allwinner A20 SoC (I tested it with an Olimex lime2 board,
connected with PIC18-based CAN devices).

There is also the canloop(4) pseudo-device, which allows to use
the socketcan API without CAN hardware.

At this time the CANFD part of the linux socketcan API is not implemented.
Error frames are not implemented either. But I could get the cansend and
canreceive utilities from the canutils package to build and run with minimal
changes. tcpudmp(8) can also be used to record frames, which can be
decoded with etherreal.
2017-05-27 21:02:54 +00:00
christos f82096efe2 We need to provide a size for getattr for the cp example to work, so cheat
and use fstat() to do it instead of libpuffs.
2017-05-10 16:35:18 +00:00
christos cc50bb7aa6 set only the effective user id to the user id of the requesting user so that
we can go back to the original uid later.
2017-05-10 13:58:25 +00:00
kamil 33078560c6 Minor and non-functional enhancements in mount_portal(8)
Since day0 pt_exec.c shipped with a dummy stub for "exec" operation, stop
waiting longer and eliminate it now. This functionality can be achieved
with filters.

Drop FreeBSD CVS repos references. There are certainly still some mirrors
or old mirrors available, but since the project moved to SVN+GIT entirely
drop it.

Add CVS Id - where missing - to the documentation files. This helps users
to determine how recent are the files.
2017-05-09 23:26:49 +00:00
kamil 53e8e965f1 Sync example portal.conf with reality
Since day0 nobody implemented pipe, tcplisten, exec modes - eliminate them.
2017-05-09 21:42:35 +00:00
christos ab25bee7cd prevent hang on vnode EOF. 2017-05-09 21:17:54 +00:00
christos 4a2bfb113e sprinkle static and death 2017-05-03 01:37:16 +00:00
christos fec7750749 We don't need agr or l2tp when we are small. 2017-05-02 20:12:27 +00:00
wiz 93cd6a62e6 Remove unnecessary Pp. Add missing plural-s. More markup. 2017-04-30 15:59:18 +00:00
nonaka addbc19a7a Added missing file...
> nvmectl(8): sync with FreeBSD HEAD r316105.
>
>  - Expand the SMART / Health Information Log Page (Page 02) printout based on
>    NVM Express 1.2.1 Standard.
>  - Implement Intel-specific log pages.
>  - Implement HGST-specific log pages.
>  - Implement wdc-specific nvme control options.
>  - Add the ability to dump log pages directly in binary to stdout.
2017-04-29 00:08:46 +00:00
nonaka d003492f75 nvmectl(8): sync with FreeBSD HEAD r316105.
- Expand the SMART / Health Information Log Page (Page 02) printout based on
   NVM Express 1.2.1 Standard.
 - Implement Intel-specific log pages.
 - Implement HGST-specific log pages.
 - Implement wdc-specific nvme control options.
 - Add the ability to dump log pages directly in binary to stdout.
2017-04-29 00:06:40 +00:00
christos 255de32a23 Prevent SEGV on corrupted msdos directories (Veo Zhang) 2017-04-28 11:33:00 +00:00
christos 0185392700 Fix previous properly (wrong variable was tested) thanks riastradh@ 2017-04-21 19:33:56 +00:00
christos a110095d6d e2di_block is an array; can't be NULL, (clang) 2017-04-21 17:33:04 +00:00
abhinav c6e09f6896 Use Xr instead of Fn to refer readdir(3) 2017-04-15 10:30:55 +00:00
christos 64f54f261d Use the create_size if given to compute the real size instead of stat'ing
the file again, which might have been larger to start with.
2017-04-14 15:39:29 +00:00
christos a22e7bc981 say ipsec stats are viewable with netstat. 2017-04-13 14:46:32 +00:00
sevan 88e7faeafa Direct reader to intro(9lua), lua(9) does not exist. 2017-04-10 19:49:39 +00:00
jdolecek db79755da6 write info about DKCACHE_FUA, DKCACHE_DPO in disk_getcache() 2017-04-05 20:27:09 +00:00
jdolecek 8e90ad672f expand a little the explanation about discard
describe behaviour of combination of log+async (i.e. same as just log)
2017-03-22 21:14:11 +00:00
martin 945b6d1754 Add missing endianes swap to make the "recover" command work on big endian
machines.
2017-03-22 19:59:16 +00:00
roy d8c60740ae Report the PID for the process changing the address. 2017-03-17 16:13:44 +00:00
ryo 2f4136203c Fix cksum calculation for clearing the cached route.
In ping.c:r1.104, the size of echoreply packet was changed to ICMP_MINLEN,
Therefore also calculation size must be ICMP_MINLEN.
2017-03-17 06:52:59 +00:00
chs 037063a2ac use warnx() rather than warn() in a case where errno is not relevant. 2017-03-09 00:18:23 +00:00
tsutsui 0ba0846790 Fix format. 2017-03-08 11:45:14 +00:00
wiz 2a5a03e6e8 file system police. 2017-02-17 09:29:35 +00:00
christos 285cf56905 Allow 0 timestamp 2017-02-16 22:42:25 +00:00
christos f8bc8f05cf allow 0 timestamp 2017-02-16 22:40:19 +00:00
christos 297234680c add -T for reproducible builds (used in makefs) 2017-02-16 18:49:31 +00:00
wiz d0da83b571 New sentence, new line.
Remove superfluous Oc and merge line to make it less likely to happen again.
Fix typo.
2017-02-16 13:51:08 +00:00
knakahara f8f075dfc2 add man for l2tp(4). 2017-02-16 08:32:21 +00:00
knakahara 03c4401a4e add l2tp(4) subcomands to ifconfig(8).
originally implemented by IIJ SEIL team.
2017-02-16 08:28:03 +00:00
christos ef9cffab3f Add -T timestamp for reproducible builds. 2017-02-16 03:32:17 +00:00
nonaka 7f9c3b1be0 128 bit integers are displayed in decimal.
bn.h and bignum.c from netgpg.
2017-02-13 11:16:46 +00:00
aymeric eadf25e08c Make gpt(8) work when compiled on a glibc-based OS.
This restores the ability to build amd64 install-image's under Linux.
2017-02-12 16:54:06 +00:00
rin 879e53004e Cosmetic changes. No functional changes. 2017-02-08 23:26:24 +00:00
rin d394916260 Factor out a common part in Makefile's of ifconfig and x_ifconfig. 2017-02-08 23:22:43 +00:00
rin 6323d1adb5 Rename sbin/ifconfig/Makefile.inc to Makefile.common; the former can
potentially conflict with bsd.subdir.mk.
2017-02-08 23:16:41 +00:00
rin 9766216654 Remove ifconfig hack on m68000. I've confirmed that the problem has already
gone with TME.
2017-02-08 23:13:59 +00:00
rin ce7fa6f1d3 __empty -> __nothing 2017-02-08 18:05:25 +00:00
rin 47e6c13bb2 switch to __empty 2017-02-08 16:56:56 +00:00
christos 58acfeb884 use __empty 2017-02-08 16:23:24 +00:00
rin ccc9d98e52 Add smaller versions of fsck_ffs(8) and newfs(8) for install media, where
support for Endian-Independent FFS and Apple UFS is disabled unless FFS_EI=1
and APPLE_UFS=1 are added to CRUNCHENV, respectively.

This reduces the size of ramdisk image for atari by over 15KB.

Thanks tsutsui and christos for their useful comments.
2017-02-08 16:11:39 +00:00
rin 872902e1dd Do not compile in progress.c when SMALLPROG is defined. 2017-02-07 16:14:47 +00:00
christos ec5c127714 remove debugging printf. 2017-02-05 00:24:24 +00:00
christos e18b8724f0 use the netid value because it could be udp6... 2017-02-03 21:56:01 +00:00
abhinav d468dc41e1 Fix spelling of partition. 2017-01-27 10:21:16 +00:00
abhinav f1b8958974 Fix spelling of simultaneous. 2017-01-27 10:12:05 +00:00