Lines Matching defs:probe

25  * probe - generate/install/display language processor probe information
29 * (1) $INSTALLROOT/lib/probe/probe set-uid to the owner of the
30 * probe hierarchy
31 * (2) probe hierarchy owned by the caller geteuid() (e.g., FAT fs)
32 * (3) otherwise info maintained per-user in $HOME/.probe/
36 "[-?\n@(#)$Id: probe (AT&T Research) 2007-02-22 $\n]"
38 "[+NAME?probe - generate/install/display language processor probe information]"
40 " output probe information for the \alanguage\a programming language"
42 " \aprocessor\a command. The probe information is in"
44 " probe information (re)generate the information when it is out of date"
47 " would affect the probe information are detected by this mechanism;"
49 " \b--override\b.) A probe information file (see \b--key\b) with"
62 " \b$HOME\b directory then the probe installation does not support"
66 " \blib/probe/\b\alanguage\a\b/\b\atool\a\b/probe.lcl\b, if it"
68 " (via the \b.\b \bsh\b(1) command) before the probe variables are"
74 " \blib/probe/\b\alanguage\a\b/\b\atool\a\b/probe.ini\b, if it"
83 "[a:attributes?List probe attribute definitions.]"
86 "[f:force?Force information generation even if it is out of date. Only probe"
88 "[g:generate?Generate the probe information if it is out of date. Only probe"
90 "[k:key?List the probe key path name on the standard output.]"
91 "[l:list?List the probe information on the standard output. An error occurs"
94 "[o:override?Make a writable copy of the probe information file in the"
95 " directory \abindir\a\b/../lib/probe/\b\alang\a/\atool\a and list the"
99 " the bin directory of the standard probe information the override"
102 "[s:silent?By default a message is printed on the standard error when probe"
104 "[t:test?Start probe generation but do not save the results. Used for"
105 " debugging probe scripts.]"
106 "[v:verify?Each probe information file contains a comment (in the"
109 "[D:debug?Start probe generation, do not save the results, and write the"
110 " probe script trace (see \bsh\b(1) \b-x\b) to the standard error.]"
116 " [+lib/probe/\alanguage\a/\atool\a?\atool\a specific information"
118 " [+$HOME/.probe?Per-user directory when \bprobe\b is installed"
119 " non-set-uid or the probe directory is on a readonly"
122 "[+CAVEATS?To allow probe information to be generated and shared among all"
123 " users the executable \alib/probe/probe\a must be set-uid to the owner"
124 " of the \alib/probe\a directory hierarchy and the probe directory"
143 #define COMMAND "probe"
285 char* probe;
309 error_info.id = probe = COMMAND;
379 error(3, "cannot generate probe key");
392 error(3, "%s: invalid probe path", path);
395 strcpy(base + 6, probe);
411 strcpy(base, probe);
426 error(3, "cannot generate probe key");
435 error(3, "%s: invalid probe path", path);
450 * so limit to probe owner
469 error(0, "%s probe information for %s language processor %s must be manually regenerated", tool, language, processor);
477 n = strlen(probe) + strlen(key) + strlen(processor) + 2;
480 sfsprintf(sentinel, n, "%s%s", probe, key);
485 error(3, "%s: recursive probe", processor);
505 sfsprintf(base, BASE_MAX + 1, "%s.%06d", probe, getpid());
545 * verify and rename to the real probe key path
584 if (n || !strneq(base, "/lib/", 5) || !strneq(base + 5, probe, strlen(probe)))
585 error(3, "%s: probe information already private", path);