<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src-test2/usr.sbin/watch, branch stable/6</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src-test2/atom?h=stable%2F6</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src-test2/atom?h=stable%2F6'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/'/>
<updated>2008-02-07T07:36:31Z</updated>
<entry>
<title>MFC 1.35:</title>
<updated>2008-02-07T07:36:31Z</updated>
<author>
<name>Rink Springer</name>
<email>rink@FreeBSD.org</email>
</author>
<published>2008-02-07T07:36:31Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=d81df7e527dda220182ceb9000e349dfaad53b20'/>
<id>urn:sha1:d81df7e527dda220182ceb9000e349dfaad53b20</id>
<content type='text'>
Allow watch(8) to use more than 10 snp* devices. This limitation was purely
due to the way watch(8) looks for available snoop devices.

PR:		bin/118286
Submitted by:	Mykola Zubach &lt;zuborg@advancedhosters.com&gt;
Reviewed by:	rwatson, csjp, imp (all a long time ago)
Approved by:	imp (mentor) (long time ago)
</content>
</entry>
<entry>
<title>MFC rev 1.32, 1.33, 1.34:</title>
<updated>2005-09-23T23:24:55Z</updated>
<author>
<name>Olivier Houchard</name>
<email>cognet@FreeBSD.org</email>
</author>
<published>2005-09-23T23:24:55Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=3500d47121c882832373385dd820dc71bae03ef6'/>
<id>urn:sha1:3500d47121c882832373385dd820dc71bae03ef6</id>
<content type='text'>
revision 1.32
date: 2005/09/18 19:24:05;  author: cognet;  state: Exp;  lines: +8 -2
Open the tty device and pass the fd for SNPSTTY.

revision 1.33
date: 2005/09/19 13:48:45;  author: ru;  state: Exp;  lines: +3 -3
Restore the ability to detach from a tty via SIOCSTTY and document
recent changes in a manpage.

revision 1.34
date: 2005/09/21 14:30:14;  author: cognet;  state: Exp;  lines: +8 -8
Close the tty file descriptor once we're done with it.
Use O_NONBLOCK when opening the tty device.

Approved by:	re
</content>
</entry>
<entry>
<title>Sort sections.</title>
<updated>2005-01-18T20:02:45Z</updated>
<author>
<name>Ruslan Ermilov</name>
<email>ru@FreeBSD.org</email>
</author>
<published>2005-01-18T20:02:45Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=59a3c79da68b53e9d606f0b7991574d982a843e1'/>
<id>urn:sha1:59a3c79da68b53e9d606f0b7991574d982a843e1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>By default, the watch utility will attempt to open /dev/snp0, if</title>
<updated>2004-08-10T01:49:46Z</updated>
<author>
<name>Christian S.J. Peron</name>
<email>csjp@FreeBSD.org</email>
</author>
<published>2004-08-10T01:49:46Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=f8da56fda8d4eb4543e51d02cf50aa8ce26d8e6a'/>
<id>urn:sha1:f8da56fda8d4eb4543e51d02cf50aa8ce26d8e6a</id>
<content type='text'>
another process already has /dev/snp0 open, the snp(4) will return
EBUSY, in which case watch will try to open /dev/snp1..9. Currently
watch does not check errno to see if the failure was a result of EBUSY.

This results in watch making futile attempts to open snp0..snp9 even
though devices may not exist or the caller does not have permissions
to access the device.

In addition to this, it attempts to setup the screen for snooping even
though it may not ever get an snp device.

So this patch does two things
1) Checks errno for EBUSY, if open(2) fails for another reason
   print that reason and exit.
2) setup the terminal for snooping after the snp descriptor has
   been obtained.

Approved by:	bmilekic (mentor)
</content>
</entry>
<entry>
<title>Eliminated double whitespace.</title>
<updated>2004-07-03T18:35:53Z</updated>
<author>
<name>Ruslan Ermilov</name>
<email>ru@FreeBSD.org</email>
</author>
<published>2004-07-03T18:35:53Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=455fb174dfe376f3c4132713a1d08dc05fe080d3'/>
<id>urn:sha1:455fb174dfe376f3c4132713a1d08dc05fe080d3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Mechanically kill hard sentence breaks.</title>
<updated>2004-07-02T23:13:00Z</updated>
<author>
<name>Ruslan Ermilov</name>
<email>ru@FreeBSD.org</email>
</author>
<published>2004-07-02T23:13:00Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=07bfccd71e05867cb46c11ea07ec0027794972b3'/>
<id>urn:sha1:07bfccd71e05867cb46c11ea07ec0027794972b3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove constant which makes the assumption that the length of</title>
<updated>2004-05-29T21:03:00Z</updated>
<author>
<name>Christian S.J. Peron</name>
<email>csjp@FreeBSD.org</email>
</author>
<published>2004-05-29T21:03:00Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=0f27b907705bfc72225c92f1d36146897af708c3'/>
<id>urn:sha1:0f27b907705bfc72225c92f1d36146897af708c3</id>
<content type='text'>
_PATH_DEV will never change. In the un-likely event that _PATH_DEV
should ever change, watch(8) would have broke because of a
mis-generated device name.

Approved by:	bmilekic (mentor)
Pointed out by:	Yvan Boily
</content>
</entry>
<entry>
<title>Userland signed char fixes for PPC build. Problems were using a char</title>
<updated>2004-01-22T07:23:36Z</updated>
<author>
<name>Peter Grehan</name>
<email>grehan@FreeBSD.org</email>
</author>
<published>2004-01-22T07:23:36Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=5cfe0423e65c346d83d1f90d5e3fd6b1cb2e310c'/>
<id>urn:sha1:5cfe0423e65c346d83d1f90d5e3fd6b1cb2e310c</id>
<content type='text'>
return for getopt() and comparing to -1, ditto with fgetc() and EOF,
and using the kg_nice value from &lt;sys/user.h&gt;

Submitted by: Stefan Farfeleder &lt;stefan@fafoe.narf.at&gt;
Reviewed by: obrien, bde (a while back)
Tested lightly on: ppc, i386, make universe
</content>
</entry>
<entry>
<title>Use __FBSDID over rcsid[].  Protect copyright[] where needed.</title>
<updated>2003-05-03T21:06:42Z</updated>
<author>
<name>David E. O'Brien</name>
<email>obrien@FreeBSD.org</email>
</author>
<published>2003-05-03T21:06:42Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=b728350ee67c01f96c3c5121774536fee81ad176'/>
<id>urn:sha1:b728350ee67c01f96c3c5121774536fee81ad176</id>
<content type='text'>
</content>
</entry>
<entry>
<title>style.Makefile(5)</title>
<updated>2003-04-04T17:49:21Z</updated>
<author>
<name>David E. O'Brien</name>
<email>obrien@FreeBSD.org</email>
</author>
<published>2003-04-04T17:49:21Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=052238b16cf05cb96be651f5ab80deacf8d6cf0a'/>
<id>urn:sha1:052238b16cf05cb96be651f5ab80deacf8d6cf0a</id>
<content type='text'>
</content>
</entry>
</feed>
