The following patch modifies the snp device to grow automagicaly like bpf, tun, and pty do. I had some time on my hands so I looked up phk's message, "Kernel hacker tasks seek intrested hackers", and this one looked easy, useful, and somewhat informative so I did it. The patch is mostly based on rev 1.53 of bpf.c which did the same thing to bpf. Fix: The patch is below. LINT should also be modified changing: pseudo-device snp 3 #Snoop device - to look at pty/vty/etc.. to: pseudo-device snp #Snoop device - to look at pty/vty/etc..
Responsible Changed From-To: freebsd-bugs->sheldonh After chatting to phk (who's kinda busy right now), I'm going to try my hand at this one.
State Changed From-To: open->feedback This should be in feedback in Responsible: set to me because I made the accident of actually committing this functionality with nearly the same patch, and did not notice this PR. I hope you don't mind, Sheldon. Thanks for the PR, Brooks! I apologize for not seeing your PR, but don't be discourage at all: you did a good job, and I certainly wouldn't mind seeing more (^_^)
Responsible Changed From-To: sheldonh->green I inadvertently committed nearly the same code, so I should be responsible for this, I suppose. I hope you don't mind, Sheldon!
I was looking at the list of PRs I had opened that were still around and noticed that this was still in feedback. Feel free to close it. I'm happy with the current situation. -- Brooks -- Any statement of the form "X is the one, true Y" is FALSE.
State Changed From-To: feedback->closed Since the submitter is happy, and a MFC is quite unlikely, it's safe to close this :)