Commit Graph

149211 Commits

Author SHA1 Message Date
christos 3399020b04 Apply the sanctioned fix for the cvs password problem from Mark D. Baushke. 2006-07-26 14:16:55 +00:00
christos 224c697f91 Patch from Dheeraj S, inspired by the following FreeBSD change:
Rather than calling mircotime() in catchpacket(), make catchpacket()
take a timeval indicating when the packet was captured. Move
microtime() to the calling functions and grab the timestamp as soon
as we know that we're going to call catchpacket at least once.

This means that we call microtime() once per matched packet, as
opposed to once per matched packet per bpf listener. It also means
that we return the same timestamp to all bpf listeners, rather than
slightly different ones.

It would be more accurate to call microtime() even earlier for all
packets, as you have to grab (1+#listener) locks before you can
determine if the packet will be logged. You could always grab a
timestamp before the locks, but microtime() can be costly, so this
didn't seem like a good idea.

(I guess most ethernet interfaces will have a bpf listener these
days because of dhclient. That means that we could be doing two bpf
locks on most packets going through the interface.)
2006-07-26 13:54:13 +00:00
tron 5cc38ce628 Bluetooth fixes by Iain Hibbert:
Remove bluetooth.conf(5) and config parsing from libbluetooth(3)
as this is no longer required.
2006-07-26 11:20:11 +00:00
tron fdeefd9c3e Bluetooth fixes by Iain Hibbert:
Create "/etc/rc.d/btcontrol" to attach bluetooth devices at boot.
2006-07-26 11:14:55 +00:00
tron ebe62ad714 Bluetooth fixes by Iain Hibbert:
Remove bluetooth.conf(5) and config parsing from libbluetooth(3)
as this is no longer required.
2006-07-26 11:11:04 +00:00
tron 7b1d74d73f Bluetooth fixes by Iain Hibbert:
Remove bluetooth.conf stuff from bthcid(8), and use XML with proplib(3)
for keyfile. Also, associate keys with local and remote address.
2006-07-26 11:00:07 +00:00
cube 1d78709e65 Only list the attachments to the interface attributes. Finding a place to
list all devices exposing the scsi and atapi attributes would be good too,
though.

Ends PR#34085.
2006-07-26 10:59:52 +00:00
tron 1bd56d0520 Bluetooth fixes by Iain Hibbert:
sdpquery(1) no longer handles device configuration.
2006-07-26 10:54:49 +00:00
tron 30d6332135 Bluetooth fixes by Iain Hibbert:
Remove bthset(4) device and add btsco(4) in its place. This is an
improved version which is not just for headsets, as it can receive
incoming connections (eg for Hands Free Profile). Update bthset(1)
control utlitiy to relate to new device.
2006-07-26 10:43:01 +00:00
tron 5d67049004 Bluetooth fixes by Iain Hibbert:
- Update bthidev(4) to use property lists for configuration.
2006-07-26 10:40:50 +00:00
tron 4241fec1bf Bluetooth fixes by Iain Hibbert:
Change the way in which bluetooth devices attach to system. The
new way is for devices to attach directly to a btdevN device via
its own control file /dev/btdevN.
- bthub(4) is replaced by btdev(4).
- /dev/bthubctl is replaced by /dev/btdevN.
- configuration now uses proplib(3) property lists.
- btcontrol(8) updated to use new API, and now uses private
- XML config file /var/db/btdev.xml.
2006-07-26 10:30:59 +00:00
tron b504a17332 Bluetooth fixes by Iain Hibbert:
- Enable listening and incoming connections for SCO links.
2006-07-26 10:20:56 +00:00
tron 1b42d7e7dc Bluetooth fixes by Iain Hibbert:
- Clarify some deprecated commands from the 2.0 spec.
2006-07-26 10:13:49 +00:00
tron 0429374bbb Bluetooth fixes by Iain Hibbert:
- Utilise cached inquiry results when making connections.
2006-07-26 10:10:06 +00:00
tron eea081262a Bluetooth fixes by Iain Hibbert:
- Add 'page timeout' option.
- Fix printing of 2Mb/3Mb packet types.
2006-07-26 10:00:43 +00:00
dogcow c959b3c4bd at the request of elad, as veriexec.h has returned, revert the changes
from 2006-07-25.
2006-07-26 09:33:57 +00:00
martin a8770a2683 Make it compile again 2006-07-26 08:09:21 +00:00
cube cad5e9a56c Remove "atapibus* at umass?" and "scsibus* at umass?" when there is
already an attachment to the interface attribute (atapi and scsi).

Part of PR#34085, although it is the contrary to what the submitter
suggests (which shows that having both in a config file can be confusing).
2006-07-26 07:00:23 +00:00
jnemeth 79d79919df Coverity CID: 682 -- remove dead code 2006-07-26 06:23:59 +00:00
simonb 53211cb1ae Since the swapping of tk_nin and tk_nout was moved to its own
function (tkswap()), actually call this function.

Fixes problems where the tin/tout fields showed total tty IO since
boot instead of just what has happened in the last second.
2006-07-26 03:33:02 +00:00
christos ad66eb8252 PR/34011: Julian Coleman: Limit timeout to 25.5 seconds. 2006-07-25 21:45:00 +00:00
christos f45b14fd95 add ytab.[ch] 2006-07-25 21:25:55 +00:00
elad 4357c6cde3 missed in previous commit, we now have veriexec(9) 2006-07-25 21:21:25 +00:00
elad 71cef668d9 first take at veriexec(9) man page, finally documenting some more
internals.
2006-07-25 21:16:16 +00:00
christos cc3156aaa2 Change the meaning of state count to be the number allocated (like c does)
instead of the highest number allocated (fortran). Fixes off-by-one errors.
Also change the overallocation of n * 5 / 4 + 10 to just n + 10.
2006-07-25 20:52:57 +00:00
elad 29a0dff0c0 kill dup prototype 2006-07-25 19:33:35 +00:00
elad ddf6300b26 typo; from Arnaud Lacombe, thanks! 2006-07-25 18:43:15 +00:00
elad 290bf1e3e7 fix typoe; thanks ober 2006-07-25 18:14:20 +00:00
elad 9778bb7296 make veriexec.h be generated again; thanks cube@ 2006-07-25 18:04:03 +00:00
wiz 6c1fde7b63 postfix-2.3.1 out. 2006-07-25 06:12:43 +00:00
riz a84f35d25f Update falloc() to match current reality. 2006-07-25 05:15:56 +00:00
riz e0f4b4c3cf Adapt to change in args for falloc(). Reported by Hisashi T Fujinaka
on current-users.
2006-07-25 05:14:38 +00:00
mrg 9eca1294f7 fix a typo in a comment and a very minor KNF. 2006-07-25 00:23:38 +00:00
dogcow cc44d2fe07 mechanically go through and
s,include "veriexec.h",include <sys/verified_exec.h>,
as the former has apparently gone away.
2006-07-25 00:23:06 +00:00
dogcow 52a142f555 fix typo in utterly uncompilable code. 2006-07-25 00:10:42 +00:00
uwe d4491bfa15 Switch sh3 to gcc4.
sh3el tested on hpcsh.  sh3eb only compile-tested with an mmeye build.
2006-07-24 23:54:15 +00:00
uwe f482b86d5d gcc4 generated extremely unoptimal code for shifts of 64-bit ints on SuperH.
Pull over a fix from gcc 4.1 branch.

ok mrg@

Author: sayle
Date: Fri Jul 21 13:22:31 2006
New Revision: 115644

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=115644
Log:

        PR middle-end/28283
        * expmed.c (expand_shift): Additionally check that the shift_cost
        is not MAX_COST and that INTVAL(op1) is less than MAX_BITS_PER_WORD
        before implementing a LSHIFT_EXPR as a sequence of additions.
        * config/sh/sh.c (shift_costs): Return MAX_COST to inform the
        middle-end that DImode shifts need to be synthesized by expand.


Modified:
    branches/gcc-4_1-branch/gcc/ChangeLog
    branches/gcc-4_1-branch/gcc/config/sh/sh.c
    branches/gcc-4_1-branch/gcc/expmed.c
2006-07-24 23:36:03 +00:00
wiz ac9fed958d Remove superfluous word, add comma to make it easier to parse. 2006-07-24 21:48:13 +00:00
elad 5e3617ba81 blymn made ips mode prevent execution of non-monitored files; document
that.
2006-07-24 21:44:52 +00:00
elad 51f96c232c ugh.. forgot to document no removal in ids mode. 2006-07-24 21:43:46 +00:00
elad 05eb39fb84 replace magic numbers for strict levels (0-3) with defines. 2006-07-24 21:32:39 +00:00
elad 32e391d158 finally do things properly. veriexec_report() takes flags, not three ints. 2006-07-24 21:15:05 +00:00
manu a640310a53 typo 2006-07-24 19:01:49 +00:00
gdt 030ff0dd8d clarifications based on wiz@ comments:
Explain that the UGEN_BULK_RA_WB option enables the USB_SET_BULK_*
ioctls.

Explain that select works in BULK mode, but not in the unbuffered
mode.

Explain more clearly that UGEN_SET_BULK_RA causes the driver to read
from the device whenever there is space in the buffer.
2006-07-24 18:13:42 +00:00
christos 3dbe70d846 PR/34030: Takehiko NOZAKI: Allways allocate the cvs password returned
in the get_cvs_password() function to simplify the code and avoid leaks.
2006-07-24 18:11:19 +00:00
gdt cf30106955 Add UGEN_BULK_RA_WB, requested by cube@. 2006-07-24 17:41:30 +00:00
wiz 7e04cdd341 New sentence, new line. Add "options UGEN_BULK_RA_WB" to SYNOPSIS.
Bump date for previous.

XXX: there should be a sentence or two about UGEN_BULK_RA_WB.
2006-07-24 17:00:52 +00:00
elad 5d611badde some fixes:
- adapt to NVERIEXEC in init_sysctl.c.
  - we now need "veriexec.h" for NVERIEXEC.
  - "opt_verified_exec.h" -> "opt_veriexec.h", and include it only where
    it is needed.
2006-07-24 16:37:28 +00:00
kardel 587059915b get tickle_tc() prototyped unconditionally 2006-07-24 16:37:24 +00:00
elad 93a2eaef51 prevent removal of monitored files as early as ids mode.
okay blymn@
2006-07-24 16:27:15 +00:00