Home
last modified time | relevance | path

Searched refs:bitset (Results 1 – 25 of 53) sorted by relevance

123

/titanic_41/usr/src/cmd/sendmail/libsmutil/
H A Dsafefile.c83 if ((bitset(SFF_NOSLINK, flags) ? lstat(fn, st)
91 else if (bitset(SFF_SETUIDOK, flags) &&
92 !bitset(S_IXUSR|S_IXGRP|S_IXOTH, st->st_mode) &&
102 if (bitset(S_ISUID, st->st_mode))
104 if (bitset(S_ISUID, st->st_mode) && st->st_uid != 0 &&
112 if (bitset(S_ISGID, st->st_mode))
114 if (bitset(S_ISGID, st->st_mode) && st->st_gid != 0)
119 checkpath = !bitset(SFF_NOPATHCHECK, flags) ||
120 (uid == 0 && !bitset(SFF_ROOTOK|SFF_OPENASROOT, flags));
121 if (bitset(SFF_NOWLINK, flags) && !bitset(SFF_SAFEDIRPATH, flags))
[all …]
H A Dlockfile.c50 if (bitset(LOCK_UN, type))
52 else if (bitset(LOCK_EX, type))
56 if (bitset(LOCK_NB, type))
/titanic_41/usr/src/cmd/sendmail/src/
H A Dtls.c452 # define TLS_UNR(bit, req) (bitset(bit, req) ? SFF_NORFILES : 0)
453 # define TLS_OUNR(bit, req) (bitset(bit, req) ? SFF_NOWRFILES : 0)
588 TLS_OK_F(certfile, "CertFile", bitset(TLS_I_CERT_EX, req),
590 TLS_OK_F(keyfile, "KeyFile", bitset(TLS_I_KEY_EX, req),
592 TLS_OK_F(cacertpath, "CACertPath", bitset(TLS_I_CERTP_EX, req),
594 TLS_OK_F(cacertfile, "CACertFile", bitset(TLS_I_CERTF_EX, req),
598 TLS_OK_F(CRLFile, "CRLFile", bitset(TLS_I_CRLF_EX, req),
610 TLS_OK_F(cf2, "CertFile", bitset(TLS_I_CERT_EX, req),
615 TLS_OK_F(kf2, "KeyFile", bitset(TLS_I_KEY_EX, req),
629 if (bitset(TLS_I_TRY_DH, req))
[all …]
H A Dheaders.c98 if (!bitset(pflag, CHHDR_USER) && *p == '?')
139 if (bitset(0200, mid))
199 if (bitset(pflag, CHHDR_DEF))
251 if (!bitset(pflag, CHHDR_DEF) && !headeronly &&
252 bitset(H_RESENT, hi->hi_flags))
256 if (UseErrorsTo && !bitset(pflag, CHHDR_DEF) && !headeronly &&
257 bitset(H_ERRORSTO, hi->hi_flags))
261 if (!headeronly && bitset(H_EOH, hi->hi_flags))
272 if (bitset(H_FROM, hi->hi_flags) && SingleLineFromHeader)
282 if (bitset(pflag, CHHDR_CHECK))
[all …]
H A Dsavemail.c149 if (bitset(EF_RESPONSE, e->e_flags))
152 bitset(EF_RESPONSE, e->e_parent->e_flags))
559 if (!bitset(EF_OLDSTYLE, e->e_flags))
561 if (bitset(EF_DONT_MIME, e->e_flags))
570 if (bitset(EF_HAS8BIT, e->e_flags) &&
571 !bitset(MM_PASS8BIT, MimeMode))
577 if (bitset(RTSF_SEND_BODY, flags) &&
578 !bitset(PRIV_NOBODYRETN, PrivacyFlags))
614 if (bitset(EF_RESPONSE, e->e_flags))
616 else if (bitset(EF_WARNING, e->e_flags))
[all …]
H A Dcollect.c114 if (!bitset(QHASNOTIFY, q->q_flags))
207 if (bitset(S_IWGRP, QueueFileMode))
211 if (bitset(S_IWGRP, QueueFileMode))
411 HasEightBits |= bitset(0x80, c);
428 !bitset(EF_NL_NOT_EOL, e->e_flags))
431 !bitset(EF_CRLF_NOT_EOL, e->e_flags))
486 if (c == '\r' && !bitset(EF_CRLF_NOT_EOL, e->e_flags))
491 else if (c == '\n' && !bitset(EF_NL_NOT_EOL,
505 !bitset(EF_TOOBIG, e->e_flags) &&
514 if (!bitset(EF_TOOBIG, e->e_flags))
[all …]
H A Denvelope.c185 bool pmnotify = bitset(EF_PM_NOTIFY, e->e_flags);
220 e->e_id, bitset(EF_LOGSENDER, e->e_flags), LogLevel);
221 if (LogLevel > 4 && bitset(EF_LOGSENDER, e->e_flags))
237 !bitset(EF_RESPONSE, e->e_flags))
243 !bitset(EF_RESPONSE, e->e_flags))
256 if (bitset(QPINGONFAILURE, q->q_flags) &&
271 else if ((bitset(QPINGONSUCCESS, q->q_flags) &&
274 bitset(QRELAYED|QEXPANDED|QDELIVERED, q->q_flags))) ||
275 bitset(QBYTRACE, q->q_flags) ||
276 bitset(QBYNRELAY, q->q_flags))
[all …]
H A Dmap.c296 !bitset(MCF_OPTFILE, map->map_class->map_cflags))
481 if (!bitset(MF_VALID, map->map_mflags))
491 if (!bitset(MF_ALIAS, map->map_mflags) ||
492 !bitset(MCF_REBUILDABLE, map->map_class->map_cflags))
500 if (bitset(MF_OPEN, map->map_mflags))
529 if (!bitset(MF_VALID, map->map_mflags))
533 if (bitset(MF_OPEN, map->map_mflags))
571 if (!bitset(MF_OPTIONAL, map->map_mflags))
594 return bitset(MF_OPEN, map->map_mflags);
646 if (!bitset(MF_VALID, map->map_mflags) ||
[all …]
H A Drecipient.c197 if (!bitset(EF_OLDSTYLE, e->e_flags) || ctladdr != NULL)
363 if (!bitset(EF_OLDSTYLE, e->e_flags))
659 bitset(EF_UNSAFE, e->e_flags))
666 else if (bitset(QBOGUSSHELL, new->q_alias->q_flags))
679 else if (bitset(QUNSAFEADDR, new->q_alias->q_flags))
711 (!bitset(EF_SPLIT, e->e_flags) && e->e_ntries == 0 &&
744 (bitset(QRCPTOK, q->q_flags) ||
745 !bitset(QPRIMARY, q->q_flags)))
753 if (!bitset(QPRIMARY, q->q_flags))
761 else if (bitset(QSELFREF, q->q_flags)
[all …]
H A Dusersmtp.c167 else if (bitset(MCIF_ESMTP, mci->mci_flags) &&
191 if (bitset(MCIF_ESMTP, mci->mci_flags) &&
231 if ((UseMSP && Verbose && bitset(MCIF_VERB, mci->mci_flags))
421 else if (bitset(MCIF_HELO, mci->mci_flags))
952 if (!(bitset(SASL_USER_BIT|SASL_AUTHID_BIT, got) &&
953 bitset(SASL_PASSWORD_BIT, got)))
957 if (!bitset(SASL_AUTHID_BIT, got))
968 if (!bitset(SASL_USER_BIT, got))
2025 if (bitset(MCIF_SIZE, mci->mci_flags) && e->e_msgsize > 0)
2038 if (bitset(MCIF_8BITMIME, mci->mci_flags))
[all …]
H A Ddeliver.c85 if (bitset(EF_DISCARD, e->e_flags))
105 if (bitset(EF_FATALERRS, e->e_flags) &&
180 if (!bitset(EF_METOO, e->e_flags) &&
228 otherowners = bitset(EF_SENDRECEIPT, e->e_flags) ? 1 : 0;
453 if (mode != SM_VERIFY && bitset(EF_HAS_DF, e->e_flags))
518 (!bitset(EF_INQUEUE, e->e_flags) || splitenv != NULL))
805 if (bitset(EF_FATALERRS, e->e_flags) &&
817 if (!bitset(EF_RESPONSE, e->e_flags) &&
837 if (!bitset(EF_SPLIT, e->e_flags))
852 bitset(EF_FATALERRS, e->e_flags))
[all …]
H A Dsrvrsmtp.c41 bitset(SRV_VRFY_CLT, features))
484 e->e_id, bitset(EF_LOGSENDER, e->e_flags), LogLevel);\
485 if (LogLevel > 4 && bitset(EF_LOGSENDER, e->e_flags)) \
681 smtp.sm_discard = bitset(EF_DISCARD, e->e_flags);
691 features = ((bitset(PRIV_NOETRN, PrivacyFlags) ||
694 | (bitset(PRIV_NOEXPN, PrivacyFlags) ? SRV_NONE
696 | (bitset(PRIV_NOVERB, PrivacyFlags)
698 | ((bitset(PRIV_NORECEIPTS, PrivacyFlags) || !SendMIMEErrors)
702 | (bitset(SASL_SEC_NOPLAINTEXT, SASLOpts) ? SRV_REQ_SEC
710 | (bitset(TLS_I_NO_VRFY, TLS_Srv_Opts) ? SRV_NONE
[all …]
H A Dqueue.c374 if (bitset(S_IWGRP, QueueFileMode)) \
377 if (bitset(S_IWGRP, QueueFileMode)) \
382 newid = (e->e_id == NULL) || !bitset(EF_INQUEUE, e->e_flags);
513 if (bitset(EF_HAS_DF, e->e_flags))
554 if (bitset(S_IWGRP, QueueFileMode))
558 if (bitset(S_IWGRP, QueueFileMode))
662 if (bitset(EF_WARNING, e->e_flags))
664 if (bitset(EF_RESPONSE, e->e_flags))
666 if (bitset(EF_HAS8BIT, e->e_flags))
668 if (bitset(EF_DELETE_BCC, e->e_flags))
[all …]
H A Dmime.c131 if (!bitset(EF_TOODEEP, e->e_flags))
172 if (bitset(M87F_DIGEST, flags))
261 (!bitset(M87F_NO8BIT, flags) || bitset(M87F_NO8TO7, flags)) &&
262 !bitset(EF_TOODEEP, e->e_flags)
309 if (!bitset(EF_TOODEEP, e->e_flags))
400 bitset(EF_TOODEEP, e->e_flags))
420 !bitset(M87F_NO8TO7, flags) &&
439 if (!bitset(M87F_NO8BIT|M87F_NO8TO7, flags))
457 if (bitset(0200, *p))
505 bitset(MCIF_CVT8TO7|MCIF_CVT7TO8|MCIF_INMIME,
[all …]
H A Dalias.c131 if (bitset(EF_VRFYONLY, e->e_flags))
162 if (bitset(QSELFREF, a->q_flags) && QS_IS_EXPANDED(a->q_state))
355 else if (!bitset(MCF_ALIASOK, s->s_mapclass.map_cflags))
404 if (bitset(MF_ALIASWAIT, map->map_mflags))
449 if (!bitset(MCF_REBUILDABLE, map->map_class->map_cflags))
514 if (!bitset(MCF_REBUILDABLE, map->map_class->map_cflags))
537 if (!automatic && !bitset(MF_OPTIONAL, map->map_mflags))
546 bitset(S_IWUSR|S_IWGRP|S_IWOTH, stb.st_mode))
604 if (bitset(MF_OPEN, map->map_mflags))
H A Dparseaddr.c122 if (bitset(RF_COPYPADDR, flags) && addr != NULL)
185 !bitset(RF_SENDERADDR|RF_HEADERADDR|RF_RM_ADDR, flags) &&
429 if (bitset(RF_COPYPARSE, flags))
914 if (bitset(M, newstate))
916 if (bitset(B, newstate))
1811 bitset(MF_DEFER, map->map_mflags))
1821 if (!bitset(MF_KEEPQUOTES, map->map_mflags))
1844 if (status == EX_TEMPFAIL && !bitset(MF_NODEFER, map->map_mflags))
2169 !bitset(RF_SENDERADDR|RF_HEADERADDR, flags))
2364 bitset(QGOODUID, ca->q_flags & cb->q_flags) &&
[all …]
H A Dmilter.c1736 if (bitset(EF_HAS_DF, e->e_flags) && e->e_dfp != NULL)
2090 if (skipflag != 0 && bitset(skipflag, m->mf_pflags))
2103 if (norespflag != 0 && bitset(norespflag, m->mf_pflags))
2554 if (bitset(SMFIP_MDS_1M, m->mf_pflags))
2565 else if (bitset(SMFIP_MDS_256K, m->mf_pflags))
2611 if (bitset(SMFIF_DELRCPT, m->mf_fflags))
2613 if (!bitset(SMFIP_NORCPT, m->mf_pflags) &&
2614 !bitset(SMFIP_NR_RCPT, m->mf_pflags))
2728 if (!bitset(H_USER, h->h_flags))
2738 if (bitset(SMFIP_HDR_LEADSPC, m->mf_pflags)
[all …]
H A Dutil.c823 if (bitset(0200, *s))
850 if (bitset(0200, *s))
1040 if (bitset(PXLF_STRIPMQUOTE, pxflags) && \
1074 strip8bit = bitset(MCIF_7BIT, mci->mci_flags) ||
1075 bitset(PXLF_STRIP8BIT, pxflags);
1113 bitset(PXLF_MAPFROM, pxflags) &&
1158 !bitset(MCIF_INLONGLINE, mci->mci_flags))
1171 bitset(PXLF_MAPFROM, pxflags) &&
1174 !bitset(MCIF_INLONGLINE, mci->mci_flags))
1193 if ((!bitset(PXLF_NOADDEOL, pxflags) || !noeol))
[all …]
/titanic_41/usr/src/lib/libcpc/i386/
H A Devent_pentium.c182 bitset(const char *fn, in bitset() function
281 { "sys0", bitset, 0,
283 { "sys1", bitset, 1,
291 { "pc0", bitset, 0,
293 { "pc1", bitset, 1,
296 { "int0", bitset, 0,
298 { "int1", bitset, 1,
301 { "inv0", bitset, 0,
303 { "inv1", bitset, 1,
330 { "sys0", bitset, 0,
[all …]
/titanic_41/usr/src/cmd/sendmail/libmilter/
H A Dengine.c431 if (!bitset(CT_IGNO, cmds[i].cm_todo))
442 } while (!bitset(CT_END, cmds[i].cm_todo));
916 if (bitset(SMFIP_MDS_1M, v))
921 else if (bitset(SMFIP_MDS_256K, v))
930 bitset(SMFIP_MDS_1M|SMFIP_MDS_256K, v))
996 testmode = bitset(SMFIP_TEST, m_pflags);
1105 if (bitset(SMFIP_NODATA, ctx->ctx_pflags2mta) &&
1106 !bitset(SMFIP_NODATA, ctx->ctx_mta_pflags))
1108 if (bitset(SMFIP_NOUNKNOWN, ctx->ctx_pflags2mta) &&
1109 !bitset(SMFIP_NOUNKNOWN, ctx->ctx_mta_pflags))
[all …]
/titanic_41/usr/src/cmd/sendmail/libsmdb/
H A Dsmdb.c93 if (bitset(LOCK_UN, type))
95 else if (bitset(LOCK_EX, type))
100 if (bitset(LOCK_NB, type))
123 if (!bitset(LOCK_NB, type) ||
144 if (!bitset(LOCK_NB, type) || save_errno != EWOULDBLOCK)
/titanic_41/usr/src/cmd/csh/
H A Dsh.dol.c342 bool dimen = 0, bitset = 0; in Dgetdol() local
355 bitset++, c = DgetC(0); /* $? tests existence */ in Dgetdol()
359 if (dimen || bitset) in Dgetdol()
366 if (dimen || bitset) in Dgetdol()
412 if (bitset) { in Dgetdol()
421 if (bitset) in Dgetdol()
446 if (bitset) { in Dgetdol()
/titanic_41/usr/src/cmd/sendmail/libsm/
H A Dmbdb.c643 if (!bitset(NEED_FULLNAME, need) ||
653 if (!bitset(NEED_HOMEDIR, need) ||
663 if (!bitset(NEED_SHELL, need) ||
675 if (!bitset(NEED_UID, need))
697 if (!bitset(NEED_GID, need))
H A Dldap.c670 !bitset(SM_LDAP_SINGLEMATCH, flags) &&
689 if (bitset(SM_LDAP_MATCHONLY, flags))
696 if (bitset(SM_LDAP_SINGLEDN, flags) && *result != NULL)
767 if (bitset(SM_LDAP_USE_ALLATTR, flags) &&
841 if (bitset(SM_LDAP_MATCHONLY, flags))
859 if (bitset(SM_LDAP_SINGLEMATCH,
912 if (bitset(SM_LDAP_SINGLEMATCH,
946 bitset(SM_LDAP_SINGLEMATCH, flags) &&
1081 !bitset(SM_LDAP_SINGLEMATCH, flags) &&
1381 if (bitset(LDAP_OPT_REFERRALS, lmap->ldap_options))
H A Dclock.c356 if (bitset(PEND_SIGHUP, PendingSignal))
361 else if (bitset(PEND_SIGINT, PendingSignal))
366 else if (bitset(PEND_SIGTERM, PendingSignal))
371 else if (bitset(PEND_SIGUSR1, PendingSignal))

123