kre
c1cbf1992b
Keep track of the biggest fd used by, or available to, the user/script
...
and use that to control which fd's are examined by a (bare) fdflags
(with no fd args).
Usually this will mean that fdflags will no longer show the shell's
internal use fds, only user fds.
This is only a partial fix however, a user can easily discover the
shell's fd usage (eg: using fstat) and can then still use fdflags to
manipulate those fds (or even send output to them).
The shell needs to monitor its own fd usage better, and keep out of
the way of user fds - coming sometime later...
2017-04-22 16:02:39 +00:00
kre
9df68bad0e
When verifying the size of the fd arg for fdflags skip leading 0's
...
(fdflags 0000000001 should work, fdflags 10000000 should not)
2017-04-22 15:54:53 +00:00
kre
a38817863e
When -x is set, show assignments to the loop variable in a for loop.
2017-04-22 15:53:17 +00:00
christos
4c074ab789
Obey MKCRYPTO.
2017-04-22 15:12:59 +00:00
macallan
c385f5854b
- set RI_FULLCLEAR
...
- clear RI_CURSOR when we clear the screen
no more garbage when switching screens
while there set RI_PREFER_ALPHA
2017-04-22 15:07:49 +00:00
macallan
b810592ab9
add RI_PREFER_ALPHA flag, for drivers that can draw such fonts by hardware
2017-04-22 15:05:02 +00:00
jmcneill
71dda27406
Ensure that the task is returned to the free task list in an error branch.
2017-04-22 14:19:36 +00:00
jmcneill
48963fbd88
Add support for AS3722 RTC.
2017-04-22 13:26:05 +00:00
jmcneill
b06fec0a20
Use fdtbus_todr_attach
2017-04-22 13:24:45 +00:00
jmcneill
f57a76a7d7
Add fdtbus_todr_attach.
...
The kernel will only ever use the first RTC driver to call todr_attach.
When drivers use fdtbus_todr_attach, if an "rtc0" alias exists in the
devicetree, ensure that only that device node calls todr_attach.
2017-04-22 13:24:20 +00:00
kre
3f471a638f
When called as "link" (not currently installed that way) always simply
...
do a link(2) sys call, never use the internal linkit() routine, which
allows for a destination directory and installs the link inside (and more.)
This makes ln's "link" variant comply with its (currently commented out)
section if its manual page, and also makes it identical to /usr/sbin/link.
2017-04-22 12:22:31 +00:00
nat
d8e7cbe075
If there is no data in the mix ring, insert silence.
...
This will ensure that the hardware output pointer remains valid.
2017-04-22 10:37:51 +00:00
plunky
dfb2e3d51f
regen
2017-04-22 07:48:33 +00:00
plunky
a95eaab00e
state correct location for install-image (RELEASEDIR/images)
2017-04-22 07:48:19 +00:00
pgoyette
a6cdaa71c9
Add crypto stuff on top of what we already have, rather than replacing!
2017-04-22 05:32:40 +00:00
nonaka
d7fe81cc96
use CR8 instead of LAPIC Task Priority register on x86-64.
2017-04-22 04:29:31 +00:00
nonaka
080345b8c0
Added I/O APIC EOI register definition.
2017-04-22 04:25:09 +00:00
nonaka
1c88219e0e
move LAPIC_MSR* to specialreg.h.
2017-04-22 04:24:25 +00:00
nonaka
ed7b4f3764
Add x2APIC register definitions.
2017-04-22 04:23:17 +00:00
christos
f067861335
fix conditional
2017-04-21 23:49:17 +00:00
jmcneill
c96fbeac3f
Setup the console serial port using the /chosen/stdout-path property
...
instead of the compile-time CONSADDR setting.
2017-04-21 23:36:57 +00:00
jmcneill
31d221fa98
Fix defparam name (CONADDR -> CONSADDR)
2017-04-21 23:35:29 +00:00
jmcneill
d343fa5477
Add some helpers to find the stdout device.
2017-04-21 23:35:01 +00:00
christos
dec46a9666
libarchive now needs crypto
2017-04-21 23:07:45 +00:00
christos
1b32fecb19
new libarchive need crypto.
2017-04-21 23:06:18 +00:00
christos
9aa6a196f7
need to treat as one word.
2017-04-21 22:46:26 +00:00
sjg
63284db849
Str_Match: fix closure tests for [^] and add unit-test.
2017-04-21 22:15:44 +00:00
jmcneill
47bf9afcdc
Get the physical memory layout from the /memory node instead of reading
...
from the memory controller registers.
2017-04-21 21:13:04 +00:00
jmcneill
74e0d90157
Avoid using kmem in fdtbus_get_reg so we can use it early at boot to read
...
the physical memory layout of the system.
2017-04-21 21:08:57 +00:00
christos
cbbfa376d1
Add some more text from FreeBSD.
2017-04-21 20:17:26 +00:00
kamil
795febebbd
Try to fix build of sys_lwp.c
...
lwp_create() has been acquired more arguments, there was missing the latest
one. Per analogiam with changes in the same commit to other source files,
go for &SS_INIT.
2017-04-21 19:38:35 +00:00
christos
0185392700
Fix previous properly (wrong variable was tested) thanks riastradh@
2017-04-21 19:33:56 +00:00
jmcneill
10ea0ce986
dmesg fix
2017-04-21 19:18:05 +00:00
kamil
7d2cd9b2d1
Fix build of rump after change in lwp_create's signature
2017-04-21 19:16:10 +00:00
christos
a110095d6d
e2di_block is an array; can't be NULL, (clang)
2017-04-21 17:33:04 +00:00
christos
b57319ba10
TOOL_SED is bogus when building source sets, use builtins instead.
2017-04-21 15:29:41 +00:00
christos
d7746f2ee3
- Propagate the signal mask from the ucontext_t to the newly created thread
...
as specified by _lwp_create(2)
- Reset the signal stack for threads created with _lwp_create(2)
2017-04-21 15:10:34 +00:00
christos
e555bfe3f6
Add some more products
2017-04-21 15:06:37 +00:00
christos
5ec33a074f
Mention that the signal stack of the newly created lwp is reset to disabled.
2017-04-21 15:04:10 +00:00
szptvlfn
56d7f82578
fix number in copyright(4->3)
2017-04-21 14:46:31 +00:00
kamil
34e270cb64
Enhance verbosity of debug message for ELF magic mismatch
...
Print e_ident[EI_MAG3] (it was missed)
Print e_ident[EI_CLASS] as it is used do determine correct ELF magic.
No functional change for non-debug (without option DEBUG_ELF) build.
2017-04-21 13:17:42 +00:00
joerg
34bc775c56
Help silly sun2 along.
2017-04-21 12:43:22 +00:00
wiz
fb007dbb9b
tmux-2.4 out.
2017-04-21 12:20:25 +00:00
jmcneill
9f26610e2e
Initialize intr_setattr of arm32_pci_chipset
2017-04-21 12:18:59 +00:00
kre
bfbd326990
For want of a comma, the compiler was lost.
2017-04-21 11:49:31 +00:00
christos
a6427274ca
mark usage dead, simplify strings in it.
2017-04-21 11:28:35 +00:00
msaitoh
4ed5b7c993
Add Flattening Portal Bridge capability ID and Hierarchy ID extended
...
capability ID.
2017-04-21 09:01:52 +00:00
ozaki-r
29993d3fc4
Use inph for variable name of struct inpcb_hdr (NFC)
2017-04-21 08:39:06 +00:00
ozaki-r
9d12472e92
Use KASSERT
2017-04-21 08:38:18 +00:00
abhinav
3a89c5769a
When doing filename autocompletion, append a trailing slash at the end of directory
...
names. We already do this when there is only one completion option but
in case of of multiple completion options, it wasn't being done.
ok christos@
2017-04-21 05:38:03 +00:00